Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit1160d3635d514150f3ae67dc29e93c4b3b325fe3 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-09-15 15:03:29 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-09-15 15:03:29 +0300
Filesebb616f04d113a337963164991706521a427ea70
syndamia.com-1160d3635d514150f3ae67dc29e93c4b3b325fe3.tar
syndamia.com-1160d3635d514150f3ae67dc29e93c4b3b325fe3.tar.gz
syndamia.com-1160d3635d514150f3ae67dc29e93c4b3b325fe3.zip
Parent1c9084484e64c0bcd6d00934ecb387a8c092aac4 (diff)
[present-sxhkd] Added a small sxhkd script with which to use a mouse for slide navigation
1 files changed, 14 insertions, 0 deletions
-rwxr-xr-xpresent-sxhkd14
diff --git a/present-sxhkd b/present-sxhkd
new file mode 100755
index 0000000..ebcc26e
--- /dev/null
+++ b/present-sxhkd
@@ -0,0 +1,14 @@
+#!/usr/bin/sxhkd -c
+# Simple sxhkd script, the idea is that I'll use a bluetooth mouse to go between slides
+
+# On left click, go to next slide
+button1
+ xdotool key Right
+
+# Just in case, a bind to stop sxhkd
+button2
+ pkill sxhkd
+
+# On right click, go to previous slide
+button3
+ xdotool key Left