From 59ad0f8b14599a16c8e6fe95f399f2eda6711fca Mon Sep 17 00:00:00 2001 From: djairoh Date: Wed, 7 Oct 2026 12:36:17 +0200 Subject: [PATCH] fix: hypr scripts --- scripts/hypr-scripts/gamemode_hypr.sh | 4 ++-- scripts/hypr-scripts/waybar.sh | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/hypr-scripts/gamemode_hypr.sh b/scripts/hypr-scripts/gamemode_hypr.sh index 0158a5a..f2910e7 100755 --- a/scripts/hypr-scripts/gamemode_hypr.sh +++ b/scripts/hypr-scripts/gamemode_hypr.sh @@ -6,10 +6,10 @@ GAMING_PROFILE="GAMEINK" if [ "$HYPRGAMEMODE" = "true" ] ; then hyprctl eval 'hl.config({ animations = { enabled = false }, decoration = { blur = { enabled = false}, rounding = 0, shadow = { enabled = false }, fullscreen_opacity = 1}, general = { border_size = 1, gaps_in = 0, gaps_out = 0}})' tailor profile set "$GAMING_PROFILE" - dunstify -r 55421 -t 2000 -u low -i ~/.icons/candy-icons/apps/scalable/teamspeak.svg "Gamemode on" + dunstify -r 55421 -u low -t 2000 -i ~/.icons/candy-icons/apps/scalable/cs-desktop.svg "Toggled animations off" exit else - dunstify -r 55421 -t 2000 -u low -i ~/.icons/candy-icons/apps/scalable/teamspeak.svg "Gamemode off" + dunstify -r 55421 -u low -t 2000 -i ~/.icons/candy-icons/apps/scalable/cs-desktop.svg "Toggled animations on" hyprctl reload exit 0 fi diff --git a/scripts/hypr-scripts/waybar.sh b/scripts/hypr-scripts/waybar.sh index 1b177fa..1fd1ef7 100755 --- a/scripts/hypr-scripts/waybar.sh +++ b/scripts/hypr-scripts/waybar.sh @@ -5,7 +5,6 @@ kill $(ps aux | grep '[w]aybar -c /tmp/waybar-config' | awk -F' ' '{print $2}') while pgrep -u $UID -x waybar > /dev/null; do sleep 1; - killall -q waybar kill $(ps aux | grep '[w]aybar -c /tmp/waybar-config' | awk -F' ' '{print $2}') done