diff options
| author | adikro <adikro@disroot.org> | 2026-01-28 20:49:07 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-01-28 20:49:07 +0100 |
| commit | e5036417abe5d3597792f869e2831decd50eba5d (patch) | |
| tree | 367bf2a9a077a518dbc4efa4d8ec3f333f323630 /hm/env/niri | |
| parent | 31526e3f2df19777b30d04d6747d57a7a807cdd3 (diff) | |
repo cleanup
Diffstat (limited to 'hm/env/niri')
| -rw-r--r-- | hm/env/niri/binds.nix | 18 |
1 files changed, 14 insertions, 4 deletions
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; |
