mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 04:37:19 +00:00
13 lines
281 B
Plaintext
13 lines
281 B
Plaintext
|
#!/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
|
||
|
gammastep -x
|
||
|
fi
|