From 1160d3635d514150f3ae67dc29e93c4b3b325fe3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 15 Sep 2023 15:03:29 +0300 Subject: [present-sxhkd] Added a small sxhkd script with which to use a mouse for slide navigation --- present-sxhkd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 present-sxhkd (limited to 'present-sxhkd') 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 -- cgit v1.3.1-23-gd82d