Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #sway like tags
- riverctl map normal Alt+1 set-focused-tags 1
- riverctl map normal Alt+2 set-focused-tags 2
- riverctl map normal Alt+3 set-focused-tags 3
- riverctl map normal Alt+4 set-focused-tags 4
- riverctl map normal Alt+5 set-focused-tags 5
- riverctl map normal Alt+6 set-focused-tags 6
- riverctl map normal Alt+7 set-focused-tags 7
- riverctl map normal Alt+8 set-focused-tags 8
- riverctl map normal Alt+9 set-focused-tags 9
- riverctl map normal Alt+0 set-focused-tags 0
- riverctl map normal Alt+Shift 1 set-view-tags 1
- riverctl map normal Alt+Shift 2 set-view-tags 2
- riverctl map normal Alt+Shift 3 set-view-tags 3
- riverctl map normal Alt+Shift 4 set-view-tags 4
- riverctl map normal Alt+Shift 5 set-view-tags 5
- riverctl map normal Alt+Shift 6 set-view-tags 6
- riverctl map normal Alt+Shift 7 set-view-tags 7
- riverctl map normal Alt+Shift 8 set-view-tags 8
- riverctl map normal Alt+Shift 9 set-view-tags 9
- riverctl map normal Alt+Shift 0 set-view-tags 0
- # Note: the "Super" modifier is also known as Logo, GUI, Windows, Alt, etc.
- #Tofi dmenu
- riverctl map normal Alt d spawn "tofi-drun --config /home/homer/.config/tofi.conf --drun-launch=true"
- # Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
- riverctl map normal Alt Return spawn 'ghostty --gtk-titlebar=false'
- # Super+Q to close the focused view
- riverctl map normal Alt+Shift Q close
- # Super+Shift+E to exit river
- riverctl map normal Alt+Shift E exit
- # Super+J and Super+K to focus the next/previous view in the layout stack
- riverctl map normal Alt J focus-view next
- riverctl map normal Alt K focus-view previous
- # Super+Shift+J and Super+Shift+K to swap the focused view with the next/previous
- # view in the layout stack
- riverctl map normal Alt+Shift J swap next
- riverctl map normal Alt+Shift K swap previous
- # Set background and border color
- riverctl background-color 0x002b36
- riverctl border-color-focused 0x93a1a1
- riverctl border-color-unfocused 0x586e75
- # Set keyboard repeat rate
- riverctl set-repeat 50 300
- # Set the default layout generator to be rivertile and start it.
- # River will send the process group of the init executable SIGTERM on exit.
- #riverctl default-layout river-ultitile
- #rivertile -view-padding 6 -outer-padding 6 &
- riverctl default-layout river-ultitile
- river-ultitile &
Advertisement
Add Comment
Please, Sign In to add comment