diff --git a/autoload/kwin-get-class.nu b/autoload/kwin-get-class.nu new file mode 100644 index 0000000..5282623 --- /dev/null +++ b/autoload/kwin-get-class.nu @@ -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 +}