#!/bin/bash # ABOUTME: Outputs JSON status for waybar nightlight module. # ABOUTME: Shows warm icon when wlsunset is active, cool icon when off. if pgrep -x wlsunset > /dev/null; then jq -nc '{text: "󰌵", alt: "on", tooltip: "Nightlight: An (5000K)", class: "on"}' else jq -nc '{text: "󰌶", alt: "off", tooltip: "Nightlight: Aus", class: "off"}' fi