From a85cf163d555f279221abe599d7a2761d703486c Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 25 Oct 2026 09:05:23 +0100 Subject: [PATCH] hypr: update gamemode --- dot-config/hypr/scripts/gamemode.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dot-config/hypr/scripts/gamemode.sh b/dot-config/hypr/scripts/gamemode.sh index ea10625..546b336 100755 --- a/dot-config/hypr/scripts/gamemode.sh +++ b/dot-config/hypr/scripts/gamemode.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash COMFY=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}') if [ "$COMFY" = true ] ; then hyprctl eval 'hl.config({ @@ -37,6 +37,7 @@ if [ "$COMFY" = true ] ; then }, })' noctalia msg power-set performance + noctalia msg wallpaper-get > "/tmp/last_wallpaper" noctalia msg wallpaper-set color:\#333333 noctalia msg nightlight-disable noctalia msg osd-disable @@ -45,7 +46,7 @@ if [ "$COMFY" = true ] ; then exit fi noctalia msg power-set balanced - noctalia msg wallpaper-random + noctalia msg wallpaper-set "$(cat /tmp/lastwallpaper)" noctalia msg nightlight-enable noctalia msg osd-enable lact cli profile set UV -- 2.56.0