feat: auto-mute audio on lock and unmute on unlock

This commit is contained in:
Jeena 2026-04-11 06:54:59 +00:00
parent 6bab9ea200
commit 14a94a4ece
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#!/bin/bash
hyprctl switchxkblayout all 0
loginctl lock-session
wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
hyprlock && wpctl set-mute @DEFAULT_AUDIO_SINK@ 0