This commit is contained in:
Matt Nish-Lapidus 2025-02-07 18:15:39 -05:00
parent 2c58c6936d
commit e515a20d08
10 changed files with 91 additions and 51 deletions

View file

@ -64,6 +64,11 @@
variable-refresh-rate = true;
};
"HDMI-A-1" = {
background-color = "#000000";
scale = 1;
};
"PNP(BNQ) BenQ PD2725U N2N00414019" = {
mode = {
width = 3840;
@ -114,7 +119,7 @@
active.gradient = {
from = "#d8bfffdd";
to = "#BD93FF99";
angle = 0;
angle = 180;
in' = "srgb-linear";
};
width = 2;
@ -170,9 +175,6 @@
open-floating = true; }
];
# TODO write scripts to manage lid/sleep states using the output from loginctl session
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off && shikanectl switch desk-clam";
lid-open.action = spawn "niri msg output eDP-1 on";
@ -327,8 +329,8 @@
"Mod+Shift+Equal".action = set-window-height "+10%";
"Mod+Ctrl+X".action = toggle-window-floating;
"Mod+Alt+X".action = switch-focus-between-floating-and-tiling;
"Mod+X".action = focus-workspace "scratchpad";
"Mod+X".action = switch-focus-between-floating-and-tiling;
"Mod+S".action = focus-workspace "scratchpad";
"Print".action = screenshot;
"Ctrl+Print".action = screenshot-screen;