From e5036417abe5d3597792f869e2831decd50eba5d Mon Sep 17 00:00:00 2001 From: adikro Date: Wed, 28 Jan 2026 20:49:07 +0100 Subject: repo cleanup --- hm/env/niri/binds.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'hm/env/niri') diff --git a/hm/env/niri/binds.nix b/hm/env/niri/binds.nix index b2031e2..4cf92e0 100644 --- a/hm/env/niri/binds.nix +++ b/hm/env/niri/binds.nix @@ -22,10 +22,20 @@ in wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && \ wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle ''; - XF86Tools.action = spawn "sh" "-c" '' - wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && \ - wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle - ''; + # XF86Tools.action = spawn "sh" "-c" '' + # wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && \ + # wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle + # ''; + "XF86Tools" = { + action = spawn "sh" "-c" '' + pkill -9 firefox || true + swaylock -f + wpctl set-mute @DEFAULT_AUDIO_SINK@ 1 + wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 1 + niri msg action power-off-monitors + ''; + repeat = false; + }; "Mod+WheelScrollDown".action = focus-column-right; "Mod+WheelScrollUp".action = focus-column-left; -- cgit v1.3