#!/bin/sh riverctl spawn /etc/s6-rc/bin/s6-session-spawn . "$XDG_CONFIG_HOME/river/functions.sh" . "$XDG_CONFIG_HOME/river/colors" . "$XDG_CONFIG_HOME/river/keybinds" . "$XDG_CONFIG_HOME/river/rules" . "$XDG_CONFIG_HOME/river/layouts" . "$XDG_CONFIG_HOME/river/gsettings" #riverctl spawn 'dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP' riverctl spawn 'light -i set 80%' riverctl spawn 'kanshictl reload' riverctl set-repeat 70 200 riverctl input "pointer-*" natural-scroll enabled riverctl input "pointer-*" pointer-accel 0 riverctl input "pointer-*" tap enabled riverctl input "pointer-*" accel-profile adaptive riverctl input "pointer-*" disable-while-typing enabled riverctl input "*Kensington_Slimblade_Trackball" natural-scroll disabled riverctl input "*Kensington_Slimblade_Trackball" pointer-accel 1 riverctl set-cursor-warp on-output-change # Set and exec into the default layout generator, rivertile. # River will send the process group of the init executable SIGTERM on exit. riverctl default-layout rivertile riverctl send-layout-cmd rivertile "main-ratio 0.66" riverctl send-layout-cmd rivertile "main-count 1" exec rivertile -view-padding 0 -outer-padding 0