AutoYADM commit: 2025-03-01 09:30:04

This commit is contained in:
Daniel Fichtinger 2025-03-01 09:30:04 -05:00
parent 0f2f9676ee
commit 5b22e8bcc2
2 changed files with 21 additions and 14 deletions

View file

@ -97,12 +97,13 @@ language-servers = ["harper-ls"]
[[grammar]] [[grammar]]
name = "ini" name = "ini"
# scope = "source.ini"
# injection-regex = "ini"
# comment-token = "#"
# indent = { tab-width = 4, unit = "\t" }
source.path = "/home/fic/dev/tree-sitter-ini" source.path = "/home/fic/dev/tree-sitter-ini"
[[language]] [[language]]
scope = "source.ini"
injection-regex = "ini"
comment-token = "#"
indent = { tab-width = 4, unit = "\t" }
name = "ini" name = "ini"
file-types = [ file-types = [
"ini", "ini",

View file

@ -59,6 +59,9 @@ output "HDMI-A-1" {
// Settings that influence how windows are positioned and sized. // Settings that influence how windows are positioned and sized.
// Find more information on the wiki: // Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout // 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 { layout {
// Set gaps around windows in logical pixels. // Set gaps around windows in logical pixels.
gaps 16 gaps 16
@ -197,7 +200,7 @@ window-rule {
} }
} }
window-rule { window-rule {
match app-id="thunderbird$" match app-id="thunderbird$|Betterbird$"
default-column-width { default-column-width {
proportion 0.75 proportion 0.75
} }
@ -321,12 +324,12 @@ binds {
focus-column-right focus-column-right
} }
Mod+M { Mod+M {
focus-column-left focus-column-or-monitor-left
} }
// Mod+N { focus-window-down; } // Mod+N { focus-window-down; }
// Mod+E { focus-window-up; } // Mod+E { focus-window-up; }
Mod+I { Mod+I {
focus-column-right focus-column-or-monitor-right
} }
Mod+Shift+Left { Mod+Shift+Left {
move-column-left move-column-left
@ -376,11 +379,11 @@ binds {
} }
// don't love these honestly // don't love these honestly
// TODO: Change smart-mouse to LGUI on keyboard? // TODO: Change smart-mouse to LGUI on keyboard?
Mod+Ctrl+Left { Mod+Comma {
focus-monitor-left focus-monitor-left
} }
Mod+Ctrl+Down { Mod+Period {
focus-monitor-down focus-monitor-right
} }
Mod+Ctrl+Up { Mod+Ctrl+Up {
focus-monitor-up focus-monitor-up
@ -437,10 +440,10 @@ binds {
focus-workspace-up focus-workspace-up
} }
Mod+L { Mod+L {
focus-workspace-down focus-monitor-left
} }
Mod+U { Mod+U {
focus-workspace-up focus-monitor-right
} }
Mod+Ctrl+Page_Down { Mod+Ctrl+Page_Down {
move-column-to-workspace-down move-column-to-workspace-down
@ -600,11 +603,11 @@ binds {
consume-or-expel-window-right consume-or-expel-window-right
} }
// Consume one window from the right to the bottom of the focused column. // Consume one window from the right to the bottom of the focused column.
Mod+Comma { Mod+BraceLeft {
consume-window-into-column consume-window-into-column
} }
// Expel the bottom window from the focused column to the right. // Expel the bottom window from the focused column to the right.
Mod+Period { Mod+BraceRight {
expel-window-from-column expel-window-from-column
} }
Mod+R { Mod+R {
@ -683,6 +686,9 @@ binds {
Mod+Alt+S { Mod+Alt+S {
spawn "~/scripts/recorder.sh" spawn "~/scripts/recorder.sh"
} }
Mod+Tab {
spawn "~/scripts/niri/window-picker.py"
}
// Applications such as remote-desktop clients and software KVM switches may // Applications such as remote-desktop clients and software KVM switches may
// request that niri stops processing the keyboard shortcuts defined here // 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. // so they may, for example, forward the key presses as-is to a remote machine.