From 5b22e8bcc25a23058d8ae19a3775e10565fdc20b Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 1 Mar 2025 09:30:04 -0500 Subject: [PATCH] AutoYADM commit: 2025-03-01 09:30:04 --- .config/helix/languages.toml | 9 +++++---- .config/niri/config.kdl##hostname.dbox | 26 ++++++++++++++++---------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 5236e968..997c998f 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -97,12 +97,13 @@ language-servers = ["harper-ls"] [[grammar]] name = "ini" -# scope = "source.ini" -# injection-regex = "ini" -# comment-token = "#" -# indent = { tab-width = 4, unit = "\t" } + source.path = "/home/fic/dev/tree-sitter-ini" [[language]] +scope = "source.ini" +injection-regex = "ini" +comment-token = "#" +indent = { tab-width = 4, unit = "\t" } name = "ini" file-types = [ "ini", diff --git a/.config/niri/config.kdl##hostname.dbox b/.config/niri/config.kdl##hostname.dbox index 70dd6ce2..97ed3e4e 100644 --- a/.config/niri/config.kdl##hostname.dbox +++ b/.config/niri/config.kdl##hostname.dbox @@ -59,6 +59,9 @@ output "HDMI-A-1" { // Settings that influence how windows are positioned and sized. // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout +// Settings that influence how windows are positioned and sized. +// Find more information on the wiki: +// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout layout { // Set gaps around windows in logical pixels. gaps 16 @@ -197,7 +200,7 @@ window-rule { } } window-rule { - match app-id="thunderbird$" + match app-id="thunderbird$|Betterbird$" default-column-width { proportion 0.75 } @@ -321,12 +324,12 @@ binds { focus-column-right } Mod+M { - focus-column-left + focus-column-or-monitor-left } // Mod+N { focus-window-down; } // Mod+E { focus-window-up; } Mod+I { - focus-column-right + focus-column-or-monitor-right } Mod+Shift+Left { move-column-left @@ -376,11 +379,11 @@ binds { } // don't love these honestly // TODO: Change smart-mouse to LGUI on keyboard? - Mod+Ctrl+Left { + Mod+Comma { focus-monitor-left } - Mod+Ctrl+Down { - focus-monitor-down + Mod+Period { + focus-monitor-right } Mod+Ctrl+Up { focus-monitor-up @@ -437,10 +440,10 @@ binds { focus-workspace-up } Mod+L { - focus-workspace-down + focus-monitor-left } Mod+U { - focus-workspace-up + focus-monitor-right } Mod+Ctrl+Page_Down { move-column-to-workspace-down @@ -600,11 +603,11 @@ binds { consume-or-expel-window-right } // Consume one window from the right to the bottom of the focused column. - Mod+Comma { + Mod+BraceLeft { consume-window-into-column } // Expel the bottom window from the focused column to the right. - Mod+Period { + Mod+BraceRight { expel-window-from-column } Mod+R { @@ -683,6 +686,9 @@ binds { Mod+Alt+S { spawn "~/scripts/recorder.sh" } + Mod+Tab { + spawn "~/scripts/niri/window-picker.py" + } // Applications such as remote-desktop clients and software KVM switches may // request that niri stops processing the keyboard shortcuts defined here // so they may, for example, forward the key presses as-is to a remote machine.