Summary Files Commits Branches @commit @diff @stats
path: root / present-sxhkd
diff options
context:
space:
mode:
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