radio: files: river: Fix pointer movements under wlrctl mode

impermanence
Luis Guilherme Coelho 2024-05-05 16:03:32 -03:00
parent 947da572ef
commit e49aaa72a7
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ done
# Decorations _________________________________________________________________ # Decorations _________________________________________________________________
# wallpaper # wallpaper
setsid -f swww-daemon & setsid -f swww-daemon && \
swww img ~/media/pictures/wallpapers/wall.png -t none & swww img ~/media/pictures/wallpapers/wall.png -t none &
# Set background and border color # Set background and border color
@ -83,10 +83,10 @@ riverctl map -repeat wlrctl Super K spawn "wlrctl pointer move 0 -10"
riverctl map -repeat wlrctl Super L spawn "wlrctl pointer move 10 0" riverctl map -repeat wlrctl Super L spawn "wlrctl pointer move 10 0"
# Super+Shift+{H,J,K,L} to scroll the window under the cursor # Super+Shift+{H,J,K,L} to scroll the window under the cursor
riverctl map -repeat wlrctl Super+Shift H spawn "wlrctl pointer scroll -10 0" riverctl map -repeat wlrctl Super+Shift H spawn "wlrctl pointer scroll 0 10"
riverctl map -repeat wlrctl Super+Shift J spawn "wlrctl pointer scroll 0 10" riverctl map -repeat wlrctl Super+Shift J spawn "wlrctl pointer scroll 10 0"
riverctl map -repeat wlrctl Super+Shift K spawn "wlrctl pointer scroll 0 -10" riverctl map -repeat wlrctl Super+Shift K spawn "wlrctl pointer scroll -10 0"
riverctl map -repeat wlrctl Super+Shift L spawn "wlrctl pointer scroll 10 0" riverctl map -repeat wlrctl Super+Shift L spawn "wlrctl pointer scroll 0 -10"
# Super+Alt+{H,J,K} to left, middle, right click # Super+Alt+{H,J,K} to left, middle, right click
riverctl map wlrctl Super+Alt H spawn "wlrctl pointer click left" riverctl map wlrctl Super+Alt H spawn "wlrctl pointer click left"