diff options
Diffstat (limited to 'river')
| -rwxr-xr-x | river/init | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -8,8 +8,11 @@ export XDG_SESSION_DESKTOP=sway export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 -systemctl --user import-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE +export VDPAU_DRIVER=radeonsi +export LIBVA_DRIVER_NAME=radeonsi + dbus-update-activation-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE +systemctl --user import-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE # Input methods riverctl keyboard-layout -model pc105awide -options ctrl:nocaps,ctrl:swap_lalt_lctl_lwin,ctrl:swap_rwin_rctl vlom @@ -76,12 +79,12 @@ riverctl map normal Super+Alt $RIGHT move right 100 # Mouse floating management riverctl map-pointer normal Super BTN_LEFT move-view -riverctl map-pointer normal Super BTN_RIGHT resize-view +riverctl map-pointer normal Super+Shift BTN_LEFT resize-view # riverctl map-pointer normal Super BTN_MIDDLE toggle-float riverctl map normal Super Tab focus-previous-tags count=0 -for i in F U H '.' V L O M; do +for i in F U H "." V L O M; do tags=$((1 << count)) riverctl map normal Super $i set-focused-tags $tags riverctl map normal Super+Shift $i set-view-tags $tags @@ -101,11 +104,11 @@ do riverctl map $mode None XF86AudioRaiseVolume spawn "pactl set-sink-volume 0 +2%" riverctl map $mode None XF86AudioLowerVolume spawn "pactl set-sink-volume 0 -2%" riverctl map $mode None XF86AudioMute spawn "pactl set-sink-mute 0 toggle" - riverctl map $mode None XF86AudioPlay spawn 'mpc toggle' - riverctl map $mode None XF86AudioPrev spawn 'mpc previous' - riverctl map $mode None XF86AudioNext spawn 'mpc next' - riverctl map $mode None XF86MonBrightnessUp spawn 'light -A 1' - riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 1' + riverctl map $mode None XF86AudioPlay spawn "mpc toggle" + riverctl map $mode None XF86AudioPrev spawn "mpc previous" + riverctl map $mode None XF86AudioNext spawn "mpc next" + riverctl map $mode None XF86MonBrightnessUp spawn "light -A 1" + riverctl map $mode None XF86MonBrightnessDown spawn "light -U 1" done # Set background and border color @@ -131,5 +134,5 @@ rivercarro -main-location monocle & # startup stuff riverctl spawn yambar riverctl spawn dunst -riverctl spawn 'gammastep -l 52.2:4.5' -riverctl spawn 'swaybg -m fill -i /home/tslil/store/pictures/bg0.png' +riverctl spawn "gammastep -l 52.2:4.5" +riverctl spawn "swaybg -m fill -i /home/tslil/store/pictures/bg0.png" |
