making some config changes to better setup qt environments
This commit is contained in:
parent
1e2cc2c916
commit
982b86059f
12 changed files with 278 additions and 79 deletions
14
scripts/kdewindows
Executable file
14
scripts/kdewindows
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
script="/home/chris/.dotfiles/scripts/kde-list-windows.js"
|
||||
|
||||
num=$(dbus-send --print-reply --dest=org.kde.KWin \
|
||||
/Scripting org.kde.kwin.Scripting.loadScript \
|
||||
string:"$script" | awk 'END {print $2}' )
|
||||
|
||||
dbus-send --print-reply --dest=org.kde.KWin /$num \
|
||||
org.kde.kwin.Script.run
|
||||
# I'm not sure if some delay is in order here to let your script complete?
|
||||
sleep 1
|
||||
dbus-send --print-reply --dest=org.kde.KWin /$num \
|
||||
org.kde.kwin.Script.stop
|
Loading…
Add table
Add a link
Reference in a new issue