diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-10-05 17:02:52 -0400 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-10-05 17:02:52 -0400 |
| commit | f24d5aed8e4362f42a022a52c16accbcb5b69c66 (patch) | |
| tree | 81f2bb1167b4581e56bb0cf7b9da92ae8c60dd36 /config | |
| parent | eeb7d323e179e899bb21ae494b0052f0196362f9 (diff) | |
feat(nightlight/ui): enlarge icon via Pango markup (escape=false), reserve space (min-length)
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/Hyprsunset.sh | 4 | ||||
| -rw-r--r-- | config/waybar/ModulesCustom | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/config/hypr/scripts/Hyprsunset.sh b/config/hypr/scripts/Hyprsunset.sh index 1e84bc66..c7c4b395 100755 --- a/config/hypr/scripts/Hyprsunset.sh +++ b/config/hypr/scripts/Hyprsunset.sh @@ -81,11 +81,11 @@ cmd_status() { fi if [[ "$onoff" == "on" ]]; then - txt="$(icon_on)" + txt="<span size='18pt'>$(icon_on)</span>" cls="on" tip="Night light on @ ${TARGET_TEMP}K" else - txt="$(icon_off)" + txt="<span size='16pt'>$(icon_off)</span>" cls="off" tip="Night light off" fi diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index f4e95433..146ec275 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -108,8 +108,9 @@ "custom/nightlight": { "return-type": "json", "exec": "$HOME/.config/hypr/scripts/Hyprsunset.sh status", - "interval": 5, + "interval": 3, "format": "{text}", + "min-length": 2, "on-click": "$HOME/.config/hypr/scripts/Hyprsunset.sh toggle", "tooltip": true, "tooltip-format": "Night light toggle", |
