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,8 +12,8 @@ done
# Decorations _________________________________________________________________
# wallpaper
setsid -f swww-daemon &
swww img ~/media/pictures/wallpapers/wall.png -t none &
setsid -f swww-daemon && \
swww img ~/media/pictures/wallpapers/wall.png -t none &
# Set background and border color
riverctl border-color-focused 0x8581e0
@ -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"
# 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 J spawn "wlrctl pointer scroll 0 10"
riverctl map -repeat wlrctl Super+Shift K spawn "wlrctl pointer scroll 0 -10"
riverctl map -repeat wlrctl Super+Shift L 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 10 0"
riverctl map -repeat wlrctl Super+Shift K 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
riverctl map wlrctl Super+Alt H spawn "wlrctl pointer click left"