nixdots/home/programs/graphical/bars/eww/config/scripts/nightlight

13 lines
284 B
Plaintext
Raw Permalink Normal View History

2024-06-20 12:53:31 +00:00
#!/usr/bin/env bash
# shellcheck source=include
source "./scripts/include"
# Consider usning a file as a flag for whether nightlight is on or off
# as we might be in transition state and just killing the program might
# not be enough.
if [ "$1" = "toggle" ]; then
2024-06-20 12:53:31 +00:00
gammastep -x
fi