feat: move to carbonfox
This commit is contained in:
parent
3755fe52a7
commit
3047da954a
9 changed files with 210 additions and 105 deletions
|
@ -1,66 +1,69 @@
|
|||
#!/bin/sh
|
||||
|
||||
mod="Super"
|
||||
|
||||
riverctl spawn kanshi
|
||||
riverctl spawn "wbg $HOME/.local/share/wallpapers/01.jpg"
|
||||
riverctl spawn "wbg $HOME/.local/share/wallpapers/07.jpg"
|
||||
riverctl spawn "waybar"
|
||||
|
||||
riverctl spawn "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
||||
|
||||
riverctl map normal Super+Shift Return spawn kitty
|
||||
riverctl map normal Super P spawn "rofi -show drun"
|
||||
riverctl map normal Super Q close
|
||||
riverctl map normal Super+Shift E exit
|
||||
riverctl map normal Super+Shift C spawn "$HOME/.config/river/init"
|
||||
riverctl map normal Super J focus-view next
|
||||
riverctl map normal Super K focus-view previous
|
||||
riverctl map normal Super+Shift J swap next
|
||||
riverctl map normal Super+Shift K swap previous
|
||||
riverctl map normal Super Period focus-output next
|
||||
riverctl map normal Super Comma focus-output previous
|
||||
riverctl map normal Super+Shift Period send-to-output next
|
||||
riverctl map normal Super+Shift Comma send-to-output previous
|
||||
riverctl map normal Super Return zoom
|
||||
riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
|
||||
riverctl map normal Super L send-layout-cmd rivertile "main-ratio +0.05"
|
||||
riverctl map normal Super+Shift H send-layout-cmd rivertile "main-count +1"
|
||||
riverctl map normal Super+Shift L send-layout-cmd rivertile "main-count -1"
|
||||
riverctl map normal Super+Alt H move left 100
|
||||
riverctl map normal Super+Alt J move down 100
|
||||
riverctl map normal Super+Alt K move up 100
|
||||
riverctl map normal Super+Alt L move right 100
|
||||
riverctl map normal Super+Alt+Control H snap left
|
||||
riverctl map normal Super+Alt+Control J snap down
|
||||
riverctl map normal Super+Alt+Control K snap up
|
||||
riverctl map normal Super+Alt+Control L snap right
|
||||
riverctl map normal Super+Alt+Shift H resize horizontal -100
|
||||
riverctl map normal Super+Alt+Shift J resize vertical 100
|
||||
riverctl map normal Super+Alt+Shift K resize vertical -100
|
||||
riverctl map normal Super+Alt+Shift L resize horizontal 100
|
||||
riverctl map-pointer normal Super BTN_LEFT move-view
|
||||
riverctl map-pointer normal Super BTN_RIGHT resize-view
|
||||
riverctl map-pointer normal Super BTN_MIDDLE toggle-float
|
||||
riverctl map normal "$mod"+Shift Return spawn kitty
|
||||
riverctl map normal "$mod" P spawn "rofi -show drun"
|
||||
riverctl map normal "$mod" S spawn "$HOME/.config/river/scripts/screenshot.sh savecopy"
|
||||
riverctl map normal "$mod" Q close
|
||||
riverctl map normal "$mod"+Shift E exit
|
||||
riverctl map normal "$mod"+Shift C spawn "$HOME/.config/river/init"
|
||||
riverctl map normal "$mod" J focus-view next
|
||||
riverctl map normal "$mod" K focus-view previous
|
||||
riverctl map normal "$mod"+Shift J swap next
|
||||
riverctl map normal "$mod"+Shift K swap previous
|
||||
riverctl map normal "$mod" Period focus-output next
|
||||
riverctl map normal "$mod" Comma focus-output previous
|
||||
riverctl map normal "$mod"+Shift Period send-to-output next
|
||||
riverctl map normal "$mod"+Shift Comma send-to-output previous
|
||||
riverctl map normal "$mod" Return zoom
|
||||
riverctl map normal "$mod" H send-layout-cmd rivercarro "main-ratio -0.05"
|
||||
riverctl map normal "$mod" L send-layout-cmd rivercarro "main-ratio +0.05"
|
||||
riverctl map normal "$mod"+Shift H send-layout-cmd rivercarro "main-count +1"
|
||||
riverctl map normal "$mod"+Shift L send-layout-cmd rivercarro "main-count -1"
|
||||
riverctl map normal "$mod"+Alt H move left 100
|
||||
riverctl map normal "$mod"+Alt J move down 100
|
||||
riverctl map normal "$mod"+Alt K move up 100
|
||||
riverctl map normal "$mod"+Alt L move right 100
|
||||
riverctl map normal "$mod"+Alt+Control H snap left
|
||||
riverctl map normal "$mod"+Alt+Control J snap down
|
||||
riverctl map normal "$mod"+Alt+Control K snap up
|
||||
riverctl map normal "$mod"+Alt+Control L snap right
|
||||
riverctl map normal "$mod"+Alt+Shift H resize horizontal -100
|
||||
riverctl map normal "$mod"+Alt+Shift J resize vertical 100
|
||||
riverctl map normal "$mod"+Alt+Shift K resize vertical -100
|
||||
riverctl map normal "$mod"+Alt+Shift L resize horizontal 100
|
||||
riverctl map-pointer normal "$mod" BTN_LEFT move-view
|
||||
riverctl map-pointer normal "$mod" BTN_RIGHT resize-view
|
||||
riverctl map-pointer normal "$mod" BTN_MIDDLE toggle-float
|
||||
|
||||
for i in $(seq 1 9); do
|
||||
tags=$((1 << (i - 1)))
|
||||
riverctl map normal Super "$i" set-focused-tags "$tags"
|
||||
riverctl map normal Super+Shift "$i" set-view-tags "$tags"
|
||||
riverctl map normal Super+Control "$i" toggle-focused-tags "$tags"
|
||||
riverctl map normal Super+Shift+Control "$i" toggle-view-tags "$tags"
|
||||
riverctl map normal "$mod" "$i" set-focused-tags "$tags"
|
||||
riverctl map normal "$mod"+Shift "$i" set-view-tags "$tags"
|
||||
riverctl map normal "$mod"+Control "$i" toggle-focused-tags "$tags"
|
||||
riverctl map normal "$mod"+Shift+Control "$i" toggle-view-tags "$tags"
|
||||
done
|
||||
|
||||
all_tags=$(((1 << 32) - 1))
|
||||
riverctl map normal Super 0 set-focused-tags "$all_tags"
|
||||
riverctl map normal Super+Shift 0 set-view-tags "$all_tags"
|
||||
riverctl map normal Super Space toggle-float
|
||||
riverctl map normal Super F toggle-fullscreen
|
||||
riverctl map normal Super Up send-layout-cmd rivertile "main-location top"
|
||||
riverctl map normal Super Right send-layout-cmd rivertile "main-location right"
|
||||
riverctl map normal Super Down send-layout-cmd rivertile "main-location bottom"
|
||||
riverctl map normal Super Left send-layout-cmd rivertile "main-location left"
|
||||
riverctl map normal "$mod" 0 set-focused-tags "$all_tags"
|
||||
riverctl map normal "$mod"+Shift 0 set-view-tags "$all_tags"
|
||||
riverctl map normal "$mod" Space toggle-float
|
||||
riverctl map normal "$mod" F toggle-fullscreen
|
||||
riverctl map normal "$mod" Up send-layout-cmd rivercarro "main-location top"
|
||||
riverctl map normal "$mod" Right send-layout-cmd rivercarro "main-location right"
|
||||
riverctl map normal "$mod" Down send-layout-cmd rivercarro "main-location bottom"
|
||||
riverctl map normal "$mod" Left send-layout-cmd rivercarro "main-location left"
|
||||
riverctl declare-mode passthrough
|
||||
riverctl map normal Super F11 enter-mode passthrough
|
||||
riverctl map passthrough Super F11 enter-mode normal
|
||||
riverctl map normal "$mod" F11 enter-mode passthrough
|
||||
riverctl map passthrough "$mod" F11 enter-mode normal
|
||||
|
||||
for mode in normal locked; do
|
||||
riverctl map "$mode" None XF86Eject spawn 'eject -T'
|
||||
|
@ -79,7 +82,7 @@ done
|
|||
riverctl rule-add ssd
|
||||
|
||||
riverctl background-color 0x00000000
|
||||
riverctl border-color-focused 0x8ec07cff
|
||||
riverctl border-color-focused 0xbe95ffff
|
||||
riverctl border-color-unfocused 0x00000000
|
||||
|
||||
riverctl keyboard-layout "us"
|
||||
|
@ -87,5 +90,5 @@ riverctl set-repeat 50 300
|
|||
|
||||
riverctl xcursor-theme "Simp1e-Gruvbox-Dark"
|
||||
|
||||
riverctl default-layout rivertile
|
||||
rivertile -view-padding 4 -outer-padding 4 &
|
||||
riverctl default-layout rivercarro
|
||||
rivercarro -inner-gaps 4 -outer-gaps 6 -no-smart-gaps &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue