UPdate config

This commit is contained in:
Tyler 2025-10-03 18:38:03 -04:00
parent 2be71ee70f
commit dd26b79bdd
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -7,13 +7,33 @@ output "eDP-1" {
// Uncomment the next line to disable this output: // Uncomment the next line to disable this output:
// off // off
transform "270" // rotate 90°; use "270" if its the other way. :contentReference[oaicite:1]{index=1} transform "270" // rotate 90°; use "270" if its the other way. :contentReference[oaicite:1]{index=1}
// scale 1.25 // optional UI scaling scale 1.6 // optional UI scaling
}
input {
touch {
map-to-output "eDP-1"
}
}
switch-events {
tablet-mode-on { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true"; }
tablet-mode-off { spawn "bash" "-c" "gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false"; }
} }
// --------- LAYOUT / LOOK --------- // --------- LAYOUT / LOOK ---------
layout { layout {
gaps 5 gaps 7
default-column-width { proportion 0.5; } default-column-width { proportion 0.8; }
focus-ring {
width 4
}
shadow {
softness 30
spread 5
offset x=0 y=5
}
} }
// --------- STARTUP DAEMONS --------- // --------- STARTUP DAEMONS ---------
@ -21,25 +41,50 @@ spawn-at-startup "waybar" // bar
spawn-at-startup "mako" // notifications spawn-at-startup "mako" // notifications
spawn-at-startup "blueman-applet" // bluetooth tray spawn-at-startup "blueman-applet" // bluetooth tray
spawn-at-startup "nm-applet" // network tray spawn-at-startup "nm-applet" // network tray
// (spawn-at-startup works like a “spawn” action at session start.) :contentReference[oaicite:2]{index=2} spawn-at-startup "swaybg" "-i" "/home/tyler/.desktop/wallpaper/main.jpg" "-m" "fill"
// Screenshots path used by niris built-in screenshot actions. // Screenshots path used by niris built-in screenshot actions.
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
// --------- KEYBINDS (DWM muscle memory) --------- prefer-no-csd
binds {
// Launchers / commands (from your config.h)
Mod+Shift+Return { spawn "kitty"; }
// Focus like DWM: j/k environment {
Mod+J { focus-window-down; } // next client in column ELECTRON_OZONE_PLATFORM_HINT "auto"
Mod+K { focus-window-up; } // prev client in column // :contentReference[oaicite:3]{index=3} }
binds {
Mod+Shift+Return { spawn "kitty"; }
Mod+P { spawn "fuzzel"; }
// Move around in the same column
// Mod+J { focus-window-down; } // next client in column
// Mod+K { focus-window-up; } // prev client in column // :contentReference[oaicite:3]{index=3}
// // Move aroudn side by side
// Mod+H { focus-column-left; }
// Mod+L { focus-column-right; }
Mod+J { focus-window-down-or-column-right; } // next client in column
Mod+K { focus-window-up-or-column-left; } // prev client in column // :contentReference[oaicite:3]{index=3}
// Move aroudn side by side
// Mod+H { focus-column-left; }
// Mod+L { focus-column-right; }
// Monitors (focus/tag mon)
Mod+Shift+L { focus-monitor-right; }
Mod+Shift+H { focus-monitor-left; }
Mod+Shift+I { move-column-to-monitor-previous; }
Mod+Shift+U { move-column-to-monitor-next; }
// “shiftview” between workspaces
Mod+Shift+K { focus-workspace-up; }
Mod+Shift+J { focus-workspace-down; } // :contentReference[oaicite:8]{index=8}
// Master-ish resizing // Master-ish resizing
Mod+H { set-column-width "-10%"; } Mod+H { set-column-width "-10%"; }
Mod+L { set-column-width "+10%"; } Mod+L { set-column-width "+10%"; }
Mod+I { set-window-height "+10%"; }
Mod+D { set-window-height "-10%"; } // Mod+I { set-window-height "+10%"; }
// Mod+D { set-window-height "-10%"; }
// “Zoom” feel (cycle preset column widths) // “Zoom” feel (cycle preset column widths)
Mod+Return { switch-preset-column-width; } // builtin behavior in niri releases. :contentReference[oaicite:4]{index=4} Mod+Return { switch-preset-column-width; } // builtin behavior in niri releases. :contentReference[oaicite:4]{index=4}
@ -55,13 +100,8 @@ binds {
Mod+M { fullscreen-window; } // monocle-like fullscreen Mod+M { fullscreen-window; } // monocle-like fullscreen
Mod+T { maximize-column; } // tile-ish column maximize Mod+T { maximize-column; } // tile-ish column maximize
// Overview (since DWMs “view all” has no true analogue)
Mod+0 { toggle-overview; } // overview feature in new niri. :contentReference[oaicite:7]{index=7} Mod+0 { toggle-overview; } // overview feature in new niri. :contentReference[oaicite:7]{index=7}
// “shiftview” between workspaces
Mod+Shift+K { focus-workspace-up; }
Mod+Shift+J { focus-workspace-down; } // :contentReference[oaicite:8]{index=8}
// View workspaces 1..9 (DWM TAGKEYS view) // View workspaces 1..9 (DWM TAGKEYS view)
Mod+1 { focus-workspace 1; } Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; } Mod+2 { focus-workspace 2; }
@ -85,11 +125,6 @@ binds {
Mod+Shift+8 { move-column-to-workspace 8; } Mod+Shift+8 { move-column-to-workspace 8; }
Mod+Shift+9 { move-column-to-workspace 9; } // :contentReference[oaicite:10]{index=10} Mod+Shift+9 { move-column-to-workspace 9; } // :contentReference[oaicite:10]{index=10}
// Monitors (focus/tag mon)
Mod+Shift+L { focus-monitor-right; }
Mod+Shift+H { focus-monitor-left; }
Mod+Shift+I { move-column-to-monitor-up; }
Mod+Shift+U { move-column-to-monitor-down; }
// Quit (DWM Mod+Shift+Q) // Quit (DWM Mod+Shift+Q)
Mod+Shift+Q { quit skip-confirmation=true; } Mod+Shift+Q { quit skip-confirmation=true; }