fix: hypr scripts

This commit is contained in:
2026-10-07 12:36:17 +02:00
parent 20f506f2fc
commit 59ad0f8b14
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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