mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-01-16 00:53:05 +01:00
remove dependency on niri overlay from sodi and switch to just kdl
This commit is contained in:
parent
0cb98d2868
commit
3cacac4e6a
21 changed files with 352 additions and 653 deletions
78
modules/desktop/home/niri/kdl/binds.kdl
Normal file
78
modules/desktop/home/niri/kdl/binds.kdl
Normal 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+"; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue