add hyprland configs
This commit is contained in:
9
.config/hypr/hyprlock/scripts/hyprlock.sh
Executable file
9
.config/hypr/hyprlock/scripts/hyprlock.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ "$(playerctl -p spotify status)" = "Playing" ]]; then
|
||||
hyprlock --config ~/.config/hyprlock/music.conf
|
||||
|
||||
else :
|
||||
hyprlock
|
||||
fi
|
||||
|
Reference in New Issue
Block a user