diff options
| -rw-r--r-- | dot-config/hypr/binds.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index fec4b6d3..03802fdf 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -156,10 +156,10 @@ bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow -bind = ,mouse:276, exec, $HOME/scripts/autoclicker-left.sh -bind = ,mouse:275, exec, $HOME/scripts/autoclicker-right.sh -bindr = ,mouse:276, exec, $HOME/scripts/autoclicker-left.sh -bindr = ,mouse:275, exec, $HOME/scripts/autoclicker-right.sh +bind = ,mouse:276, exec, exec -a autoclicker-left zsh -c 'while true; do wlrctl pointer click; sleep $((0.$RANDOM/10)); done' +bind = ,mouse:275, exec, exec -a autoclicker-right zsh -c 'while true; do wlrctl pointer click right; sleep $((0.$RANDOM/10)); done' +bindr = ,mouse:276, exec, kill $(pgrep -f autoclicker-left) +bindr = ,mouse:275, exec, kill $(pgrep -f autoclicker-right) # chroma bind = $mainMod, O, togglechromakey |
