···1313 # Setup wallpaper with swaybg
1414 riverctl spawn "swaybg -m fill -i ${builtins.toString ./../../../../..}/wallpapers/Witcher_3_Skellige_Mountain-Ansel_paint_filter.png"
15151616+ # Spawn waybar
1717+ riverctl spawn waybar
1818+1919+ # Spawn discord at login
2020+ riverctl spawn discord
2121+1622 # Super+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
1723 riverctl map normal Super+Shift Return spawn foot
18241925 # Super+P to open application launcher
2020- # riverctl map normal Super P spawn dmenu
2126 riverctl map normal Super P spawn fuzzel
22272328 # Super+Q to close the focused view
···116121 riverctl map normal Super Down send-layout-cmd rivertile "main-location bottom"
117122 riverctl map normal Super Left send-layout-cmd rivertile "main-location left"
118123119119- # Declare a passthrough mode. This mode has only a single mapping to return to
120120- # normal mode. This makes it useful for testing a nested wayland compositor
121121- riverctl declare-mode passthrough
122122-123123- # Super+F11 to enter passthrough mode
124124- riverctl map normal Super F11 enter-mode passthrough
125125-126126- # Super+F11 to return to normal mode
127127- riverctl map passthrough Super F11 enter-mode normal
128128-129124 # Various media key mapping examples for both normal and locked mode which do
130125 # not have a modifier
131126 for mode in normal locked
132127 do
133133- # Eject the optical drive (well if you still have one that is)
134134- riverctl map $mode None XF86Eject spawn 'eject -T'
135135-136128 # Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer)
137129 riverctl map $mode None XF86AudioRaiseVolume spawn 'pamixer -i 5'
138130 riverctl map $mode None XF86AudioLowerVolume spawn 'pamixer -d 5'