diff options
Diffstat (limited to 'D.sh')
-rwxr-xr-x | D.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/dash +capslock_status=$(xset q | grep "Caps Lock:" | awk '{print $4}') +if [ "$capslock_status" = "on" ]; then + xdotool mousemove_relative -- 45 0 +else + xdotool mousemove_relative -- 11 0 +fi
\ No newline at end of file |