configuration/config/river/init

48 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2024-08-02 11:09:49 +02:00
#!/bin/sh
riverctl map normal Super+Shift q exit
riverctl map normal Super Return spawn foot
riverctl map normal Super t spawn foot
riverctl map normal Super+Shift c close
riverctl map normal Super n focus-output next
riverctl map normal Super+Shift n spawn "riverctl send-to-output next && riverctl focus-output next"
riverctl map normal Super j focus-view next
riverctl map normal Super k focus-view previous
riverctl map normal Super+Shift j swap next
riverctl map normal Super+Shift k swap previous
riverctl map normal Super s send-layout-cmd rivertile "main-location right"
riverctl map normal Super w send-layout-cmd rivertile "main-location left"
riverctl map normal Super i send-layout-cmd rivertile "main-count +1"
riverctl map normal Super d send-layout-cmd rivertile "main-count -1"
riverctl map normal Super r spawn 'exec "$(dmenu_path | skmenu)"'
riverctl map normal Super p spawn 'delegator -g'
riverctl map normal Super 1 set-focused-tags 1
riverctl map normal Super 2 set-focused-tags 2
riverctl map normal Super 3 set-focused-tags 4
riverctl map normal Super+Shift 1 set-view-tags 1
riverctl map normal Super+Shift 2 set-view-tags 2
riverctl map normal Super+Shift 3 set-view-tags 4
riverctl map-pointer normal Super BTN_LEFT move-view
riverctl map-pointer normal Super BTN_RIGHT resize-view
riverctl map-pointer normal Super BTN_MIDDLE toggle-float
riverctl border-color-focused 0xFF0000
riverctl focus-follows-cursor always
riverctl keyboard-layout -options compose:caps us
riverctl set-cursor-warp on-focus-change
riverctl input 'pointer-4120-4102-HID_1018:1006_Touchpad' middle-emulation enabled
riverctl input 'pointer-4120-4102-HID_1018:1006_Touchpad' tap enabled
riverctl input 'pointer-4120-4102-HID_1018:1006_Touchpad' tap-button-map left-middle-right
2024-08-02 11:09:49 +02:00
riverctl set-repeat 55 300
riverctl default-layout rivertile
riverctl rule-add -title skmenu float
2024-08-29 11:04:21 +02:00
riverctl rule-add ssd
2024-08-02 11:09:49 +02:00
riverctl spawn 'dbus-run-session pipewire'
riverctl spawn 'swayidle timeout 300 waylock timeout 300 "wlopm --off \*" resume "wlopm --on \*"'
riverctl spawn "wbg '$(find -L /data/pictures/background-source/ -type f | sort -R | head -1)'"
2024-08-07 00:13:22 +02:00
riverctl spawn 'wlsunset -l 50.85 -L 4.35'
2024-08-02 11:09:49 +02:00
rivertile -view-padding 0 -outer-padding 0 -main-ratio 0.7 &