From 4901273f00a465b3dd2c3093c66171725bf6ce9b Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Fri, 26 Jul 2024 13:14:18 +0200 Subject: [PATCH] Now player will stop when resuming --- .config/hypr/hypridle.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index b80e2ce..2d3a0cb 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -1,7 +1,7 @@ general { lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session) #unlock_cmd = notify-send "unlock!" # same as above, but unlock - before_sleep_cmd = hyprlock # command ran before sleep + before_sleep_cmd = playerctl stop && hyprlock # command ran before sleep #after_sleep_cmd = notify-send "Awake!" # command ran after sleep ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors