fix: hypr scripts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user