From 73e600129b3f39b34649f6b8099c7b51c79e3343 Mon Sep 17 00:00:00 2001 From: Nate Cox Date: Wed, 17 Jun 2026 19:22:31 -0700 Subject: Update niri, add mpd --- .config/niri/cfg/input.kdl | 2 +- .config/niri/cfg/keybinds.kdl | 6 +++++- .config/niri/cfg/rules.kdl | 24 ------------------------ 3 files changed, 6 insertions(+), 26 deletions(-) (limited to '.config/niri/cfg') diff --git a/.config/niri/cfg/input.kdl b/.config/niri/cfg/input.kdl index 721161c..6f4f041 100644 --- a/.config/niri/cfg/input.kdl +++ b/.config/niri/cfg/input.kdl @@ -8,7 +8,7 @@ input { // uncomment the line below and change the layout accordingly. layout "us,us" variant "colemak_dh_iso," - options "grp:win_space_toggle,lv3:ralt_alt,caps:swapescape" + options "grp:win_space_toggle,lv3:ralt_alt" } numlock // Enable numlock on startup } diff --git a/.config/niri/cfg/keybinds.kdl b/.config/niri/cfg/keybinds.kdl index 21563cd..2d16c3a 100644 --- a/.config/niri/cfg/keybinds.kdl +++ b/.config/niri/cfg/keybinds.kdl @@ -1,5 +1,4 @@ binds { - // ────────────── Keybindings ────────────── // https://github.com/YaLTeR/niri/wiki/Configuration:-Key-Bindings @@ -35,6 +34,11 @@ binds { // ─── Window Movement and Focus ─── Mod+Q { close-window; } + Mod+BracketLeft { consume-or-expel-window-left; } + Mod+BracketRight { consume-or-expel-window-right; } + Mod+Comma { consume-window-into-column; } + Mod+Period { expel-window-from-column; } + Mod+Left { focus-column-left; } Mod+H { focus-column-left; } Mod+Right { focus-column-right; } diff --git a/.config/niri/cfg/rules.kdl b/.config/niri/cfg/rules.kdl index 825bac4..c533507 100644 --- a/.config/niri/cfg/rules.kdl +++ b/.config/niri/cfg/rules.kdl @@ -1,6 +1,3 @@ -workspace "web" -workspace "term" - window-rule { open-maximized true geometry-corner-radius 12 @@ -20,27 +17,6 @@ window-rule { open-focused false } -window-rule { - match app-id="helium-browser" - open-on-workspace "web" -} - -window-rule { - match app-id="kitty" - open-on-workspace "term" -} - -window-rule { - match app-id="foot" - open-on-workspace "term" -} - -window-rule { - match app-id=r#"^org\.wezfurlong\.wezterm$"# - // default-column-width {} - open-on-workspace "term" -} - layer-rule { match namespace="^noctalia-wallpaper*" place-within-backdrop true -- cgit v1.3.1