update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user