remove dependency on niri overlay from sodi and switch to just kdl

This commit is contained in:
Schrottkatze 2026-01-01 18:22:39 +01:00
commit 3cacac4e6a
No known key found for this signature in database
21 changed files with 352 additions and 653 deletions

View file

@ -0,0 +1,78 @@
binds {
// spawn terminal
Mod+Return repeat=false { spawn "kitty"; }
Mod+D repeat=false { spawn "wofi" "-S" "drun" "--allow-images"; }
Mod+I {
spawn "/nix/store/0wnpajfc40akxikz2h483a256ab97idx-rofimoji-6.7.0/bin/rofimoji" "--selector" "wofi" "-f" "alchemical_symbols" "emojis" "braille_patterns" "box_drawing" "chess_symbols" "emoticons" "geometric_shapes" "greek_extended" "math" "mathematical_alphanumeric_symbols" "mathematical_operators" "miscellaneous_symbols" "miscellaneous_mathematical_symbols-a" "miscellaneous_mathematical_symbols-b" "miscellaneous_symbols_and_arrows" "miscellaneous_symbols_and_pictographs" "miscellaneous_technical" "modi" "modifier_tone_letters" "musical_symbols" "nerd_font" "number_forms" "shorthand_format_controls" "specials" "variation_selectors" "vertical_forms" "-a" "copy";
}
Mod+Shift+E { quit; }
Mod+Shift+Q { close-window; }
Mod+Ctrl+Shift+P { power-off-monitors; }
Mod+Shift+Ctrl+Slash allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
Mod+Shift+Slash { show-hotkey-overlay; }
Mod+Shift+C { set-dynamic-cast-window; }
Mod+Ctrl+C { set-dynamic-cast-monitor; }
Mod+Shift+Ctrl+C { clear-dynamic-cast-target; }
// window/columns controls
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
Mod+Ctrl+H { move-column-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
Mod+Ctrl+L { move-column-right; }
Mod+R { switch-preset-column-width; }
Mod+G { toggle-overview; }
Mod+V { toggle-window-floating; }
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
// monitor controls
Mod+Shift+H { focus-monitor-left; }
Mod+Shift+J { focus-monitor-down; }
Mod+Shift+K { focus-monitor-up; }
Mod+Shift+L { focus-monitor-right; }
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
// column editing stuffs
Mod+BracketLeft { consume-or-expel-window-left; }
Mod+BracketRight { consume-or-expel-window-right; }
Mod+C { center-column; }
Mod+Minus { set-column-width "-5%"; }
Mod+Equal { set-column-width "+5%"; }
Mod+Shift+Minus { set-window-height "-10%"; }
Mod+Shift+Equal { set-window-height "+10%"; }
Mod+Shift+W { toggle-column-tabbed-display; }
Mod+F { maximize-column; }
Alt+F { expand-column-to-available-width; }
Mod+Shift+F { maximize-window-to-edges; }
Mod+Ctrl+F { fullscreen-window; }
Mod+Shift+Ctrl+F { toggle-windowed-fullscreen; }
// media keys
XF86AudioLowerVolume \
allow-when-locked=true \
{ spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
XF86AudioMicMute \
allow-when-locked=true \
{ spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86AudioMute \
allow-when-locked=true \
{ spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioRaiseVolume \
allow-when-locked=true \
{ spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
}