Guest User

Untitled

a guest
Jun 9th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. #!/bin/sh
  2. #sway like tags
  3. riverctl map normal Alt+1 set-focused-tags 1
  4. riverctl map normal Alt+2 set-focused-tags 2
  5. riverctl map normal Alt+3 set-focused-tags 3
  6. riverctl map normal Alt+4 set-focused-tags 4
  7. riverctl map normal Alt+5 set-focused-tags 5
  8. riverctl map normal Alt+6 set-focused-tags 6
  9. riverctl map normal Alt+7 set-focused-tags 7
  10. riverctl map normal Alt+8 set-focused-tags 8
  11. riverctl map normal Alt+9 set-focused-tags 9
  12. riverctl map normal Alt+0 set-focused-tags 0
  13.  
  14. riverctl map normal Alt+Shift 1 set-view-tags 1
  15. riverctl map normal Alt+Shift 2 set-view-tags 2
  16. riverctl map normal Alt+Shift 3 set-view-tags 3
  17. riverctl map normal Alt+Shift 4 set-view-tags 4
  18. riverctl map normal Alt+Shift 5 set-view-tags 5
  19. riverctl map normal Alt+Shift 6 set-view-tags 6
  20. riverctl map normal Alt+Shift 7 set-view-tags 7
  21. riverctl map normal Alt+Shift 8 set-view-tags 8
  22. riverctl map normal Alt+Shift 9 set-view-tags 9
  23. riverctl map normal Alt+Shift 0 set-view-tags 0
  24.  
  25. # Note: the "Super" modifier is also known as Logo, GUI, Windows, Alt, etc.
  26. #Tofi dmenu
  27. riverctl map normal Alt d spawn "tofi-drun --config /home/homer/.config/tofi.conf --drun-launch=true"
  28.  
  29. # Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
  30. riverctl map normal Alt Return spawn 'ghostty --gtk-titlebar=false'
  31.  
  32. # Super+Q to close the focused view
  33. riverctl map normal Alt+Shift Q close
  34.  
  35. # Super+Shift+E to exit river
  36. riverctl map normal Alt+Shift E exit
  37.  
  38. # Super+J and Super+K to focus the next/previous view in the layout stack
  39. riverctl map normal Alt J focus-view next
  40. riverctl map normal Alt K focus-view previous
  41.  
  42. # Super+Shift+J and Super+Shift+K to swap the focused view with the next/previous
  43. # view in the layout stack
  44. riverctl map normal Alt+Shift J swap next
  45. riverctl map normal Alt+Shift K swap previous
  46.  
  47. # Set background and border color
  48. riverctl background-color 0x002b36
  49. riverctl border-color-focused 0x93a1a1
  50. riverctl border-color-unfocused 0x586e75
  51.  
  52. # Set keyboard repeat rate
  53. riverctl set-repeat 50 300
  54.  
  55. # Set the default layout generator to be rivertile and start it.
  56. # River will send the process group of the init executable SIGTERM on exit.
  57. #riverctl default-layout river-ultitile
  58. #rivertile -view-padding 6 -outer-padding 6 &
  59. riverctl default-layout river-ultitile
  60. river-ultitile &
  61.  
Advertisement
Add Comment
Please, Sign In to add comment