-
-
Save notpushkin/9a14d5a20442bf214995f8852a130c7a to your computer and use it in GitHub Desktop.
fusuma macos-like expose gestures for KDE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if qdbus org.kde.KWin /Effects activeEffects | grep -q 'windowview'; then | |
ydotool click 0xC0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swipe: | |
3: | |
up: | |
command: '/home/ale/.local/share/ale-scripts/present-desktop.sh' | |
down: | |
command: '/home/ale/.local/share/ale-scripts/click-if-in-windowview.sh' | |
threshold: | |
swipe: 1 | |
interval: | |
swipe: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if ! qdbus org.kde.KWin /Effects activeEffects | grep -q 'windowview'; then | |
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut ExposeAll | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(add
/usr/bin/fusuma
and/usr/bin/ydotoold
to autostart)