attempt at fixing wayland on plasma with kaladin

This commit is contained in:
Chris Cochrun 2022-07-05 16:46:05 -05:00
parent 2635e8f930
commit b859c4bd4d
4 changed files with 31 additions and 9 deletions

View file

@ -6,8 +6,12 @@ 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
echo $num
wins=$(dbus-send --print-reply --dest=org.kde.KWin /$num \
org.kde.kwin.Script.run | sed 's/p/p/')
echo $wins
# 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 \