From: Andre Ramnitz Date: Sun, 25 Oct 2026 08:05:23 +0000 (+0100) Subject: hypr: update gamemode X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=a85cf163d555f279221abe599d7a2761d703486c;p=dotfiles.git hypr: update gamemode --- 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