hypr-dotfiles/hypr/scripts/lock.sh

4 lines
130 B
Bash
Executable file

#!/bin/bash
hyprctl switchxkblayout all 0
wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
hyprlock && wpctl set-mute @DEFAULT_AUDIO_SINK@ 0