dotfiles/home/.config/eww/scripts/nightlight

13 lines
284 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2022-10-29 18:25:42 +00:00
# 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
gammastep -x
2022-10-29 18:25:42 +00:00
fi