#!/bin/bash # ABOUTME: Outputs JSON status for waybar nightlight module. # ABOUTME: Checks wlsunset systemd service, shows warm icon when active. if systemctl --user is-active --quiet wlsunset; then jq -nc '{text: "󰌵", alt: "on", tooltip: "Nightlight: An (5000K)", class: "on"}' else jq -nc '{text: "󰌶", alt: "off", tooltip: "Nightlight: Aus", class: "off"}' fi