From 89388d25233002960a97c96163161054d34e0200 Mon Sep 17 00:00:00 2001 From: Olaf Alexander Date: Tue, 5 Nov 2024 13:33:24 -0600 Subject: [PATCH] fix(hypridle): Stop audio on powersave --- dot-config/hypr/hypridle.conf | 2 +- dot-config/waybar/config.jsonc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index ba4cec6..aa21603 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -6,7 +6,7 @@ general { listener { timeout = 330 # 5.5 min - on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed + on-timeout = playerctl pause && hyprctl dispatch dpms off # screen off when timeout has passed on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. } diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc index 115ee59..38eef6b 100644 --- a/dot-config/waybar/config.jsonc +++ b/dot-config/waybar/config.jsonc @@ -21,7 +21,7 @@ "tooltip": false }, "wireplumber": { - "format": "{icon} {volume}%", + "format": "{icon} {volume}%", "format-muted": " ", "format-icons": ["", "", ""], "tooltip": false