aboutsummaryrefslogtreecommitdiff
path: root/.config/sxhkd
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxhkd')
-rwxr-xr-x.config/sxhkd/sxhkdrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 7b6704a..f5a914f 100755
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -295,6 +295,18 @@ XF86Audio{Raise,Lower}Volume
alt + {Right,Left}
pulsemixer --change-volume {+,-}10
+#---------------------------------------------------------------
+#
+# Xdotool
+#
+
+# Move mouse cursor north, west, south, east
+alt + {w,a,s,d}
+ xdotool mousemove_relative --sync {-- 0 -24, -- -24 0, 0 24, 24 0}
+
+# Move mouse cursor diagonally north-west, north-east, south-west, south-east
+shift + alt + {q,e,a,d}
+ xdotool mousemove_relative --sync {-- -24 -24, -- 24 -24, -- -24 24,-- 24 24}
#---------------------------------------------------------------
#