This commit is contained in:
2025-03-14 14:04:28 -04:00
parent 7a715ae563
commit 32bea7a44c
9 changed files with 97 additions and 102 deletions

View File

@@ -91,6 +91,11 @@
{ clip-to-geometry = true; }
];
# XF86AudioMedia allow-when-locked=true { spawn "playerctl" "play-pause"; }
# XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
# XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; }
# XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; }
# https://github.com/sodiboo/niri-flake/issues/591
switch-events = with config.lib.niri.actions; {
"lid-close".action = spawn "${pkgs.swaylock}/bin/swaylock";
@@ -110,7 +115,9 @@
# screenshotting
"Print".action = screenshot;
"Ctrl+Print".action = screenshot-screen;
# https://github.com/sodiboo/niri-flake/commit/a7949bd0f5551fdfffd04cb9735ad3cd3167d624#r153571513
# "Ctrl+Print".action = screenshot-screen;
"Alt+Print".action = screenshot-window;
# Volume control