aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Hyprsunset.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2025-10-05 15:23:05 -0400
committerDon Williams <don.e.williams@gmail.com>2025-10-05 15:23:05 -0400
commiteeb7d323e179e899bb21ae494b0052f0196362f9 (patch)
tree379fd5a3264c9071f8aca3e4d1859a5cca235b2c /config/hypr/scripts/Hyprsunset.sh
parentd200f9134d5e6bbc558b8acaea64229ba7b420cb (diff)
fix(waybar/nightlight): use universal icons (☀/🌇) and explicit {text} format for JSON
Diffstat (limited to 'config/hypr/scripts/Hyprsunset.sh')
-rwxr-xr-xconfig/hypr/scripts/Hyprsunset.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/hypr/scripts/Hyprsunset.sh b/config/hypr/scripts/Hyprsunset.sh
index 0372d720..1e84bc66 100755
--- a/config/hypr/scripts/Hyprsunset.sh
+++ b/config/hypr/scripts/Hyprsunset.sh
@@ -21,21 +21,22 @@ ensure_state() {
# Render icons using pango markup to allow colorization
icon_off() {
- # bright sun when not activated (plain glyph; styling via Waybar CSS by class)
- printf ""
+ # universally available sun symbol
+ printf "☀"
}
icon_on() {
case "$ICON_MODE" in
sunset)
- # fallback to same glyph; color can be handled by CSS if desired
- printf ""
+ # sunset emoji (falls back to tofu if no emoji font)
+ printf "🌇"
;;
blue)
- printf ""
+ # no color in text; rely on CSS .on to style if desired
+ printf "☀"
;;
*)
- printf ""
+ printf "☀"
;;
esac
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage