bumps for laptop

This commit is contained in:
Chris Cochrun 2021-07-05 13:15:44 -05:00
parent 81a8ca2b4e
commit c49eed3c48
11 changed files with 39 additions and 22 deletions

View file

@ -13,7 +13,9 @@ mod="Mod4"
# Mod+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
riverctl map normal $mod Return spawn alacritty
riverctl map normal $mod E spawn emacsclient -c -a 'emacs'
riverctl map normal Menu spawn rofi -no-lazy-grab -show run -modi run
riverctl map normal $mod B spawn qutebrowser
riverctl map normal None Menu spawn rofi -no-lazy-grab -show drun -modi drun
riverctl map normal $mod Menu spawn rofi -no-lazy-grab -show run -modi run
# Mod+Q to close the focused view
riverctl map normal $mod C close
@ -31,20 +33,20 @@ riverctl map normal $mod+Shift J swap next
riverctl map normal $mod+Shift K swap previous
# Mod+Period and Mod+Comma to focus the next/previous output
riverctl map normal $mod Period focus-output next
riverctl map normal $mod Comma focus-output previous
riverctl map normal $mod L focus-output next
riverctl map normal $mod H focus-output previous
# Mod+Shift+{Period,Comma} to send the focused view to the next/previous output
riverctl map normal $mod+Shift Period send-to-output next
riverctl map normal $mod+Shift Comma send-to-output previous
riverctl map normal $mod O send-to-output next
# riverctl map normal $mod+Shift Comma send-to-output previous
# Mod+Return to bump the focused view to the top of the layout stack
# riverctl map normal $mod Return zoom
# Mod+H and Mod+L to decrease/increase the main factor by 5%
# If using rivertile(1) this determines the width of the main stack.
riverctl map normal $mod H mod-main-factor -0.05
riverctl map normal $mod L mod-main-factor +0.05
riverctl map normal $mod+Control H mod-main-factor -0.05
riverctl map normal $mod+Control L mod-main-factor +0.05
# Mod+Shift+H and Mod+Shift+L to increment/decrement the number of
# main views in the layout
@ -149,9 +151,6 @@ done
# Set repeat rate
riverctl set-repeat 180 200
# Set the layout on startup
riverctl layout rivertile
# Set app-ids of views which should float
riverctl float-filter-add "float"
riverctl float-filter-add "popup"
@ -170,4 +169,9 @@ riverctl xcursor-theme breeze-snow
wlr-randr --output eDP-1 --pos 0,0 --scale 2
# Turn on Waybar
waybar
exec waybar
# 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
exec rivertile