Added kwin-get-class
This commit is contained in:
9
autoload/kwin-get-class.nu
Normal file
9
autoload/kwin-get-class.nu
Normal file
@@ -0,0 +1,9 @@
|
||||
export def lumen-kwin-get-class [waittimesec = int]: nothing -> nothing {
|
||||
mut timer = ($waittimesec | into int)
|
||||
while ($timer > 0) {
|
||||
$timer | print
|
||||
$timer -= 1
|
||||
sleep 1sec
|
||||
}
|
||||
qdbus6 org.kde.KWin /KWin queryWindowInfo
|
||||
}
|
||||
Reference in New Issue
Block a user