My personal dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: added default river config

legoraft 87d94db9 25c85653

+41
+41
river/.config/river/init
··· 1 1 #!/bin/sh 2 2 3 + # -- Keybinds -- 4 + 5 + # Management 6 + riverctl map normal Super Q close 7 + riverctl map normal Super Tab focus-view next 8 + riverctl map normal Super+Shift Tab focus-view previous 9 + riverctl map normal Super P spawn "pkill waybar && waybar" 10 + 11 + # Switch workspaces and move windows to workspaces 12 + for i in $(seq 1 5) 13 + do 14 + tags=$((1 << ($i - 1))) 15 + 16 + # Super+[1-9] to focus tag [0-8] 17 + riverctl map normal Super $i set-focused-tags $tags 18 + 19 + # Super+Shift+[1-9] to tag focused view with tag [0-8] 20 + riverctl map normal Super+Shift $i set-view-tags $tags 21 + done 22 + 23 + # Applications 24 + riverctl map normal Super Return spawn kitty 25 + riverctl map normal Super Space spawn "rofi -show" 26 + riverctl map normal Super W spawn "$HOME/Applications/ZenBrowser.AppImage" 27 + riverctl map normal Super E spawn zeditor 28 + 29 + # Screenshots 30 + riverctl map normal Super S spawn "$HOME/.local/bin/screenshot -f" 31 + riverctl map normal Super+Shift S spawn "$HOME/.local/bin/screenshot -s" 32 + 33 + # Laptop multimedia keys for volume and LCD brightness 34 + riverctl map normal None XF86AudioRaiseVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" 35 + riverctl map normal None XF86AudioLowerVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" 36 + riverctl map normal None XF86AudioMute spawn "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" 37 + 38 + riverctl map normal None XF86MonBrightnessUp spawn "brightnessctl set +5%" 39 + riverctl map normal None XF86MonBrightnessDown spawn "brightnessctl set 5%-" 40 + 41 + # -- Layout --- 42 + riverctl default-layout rivertile 43 + rivertile -view-padding 3 -outer-padding 5 &