9 lines
173 B
Bash
Executable file
9 lines
173 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -z "`pgrep -x redshift`" ]; then
|
|
redshift -l 44:26 &
|
|
notify-send Redshift "is now enabled"
|
|
else
|
|
notify-send Redshift "is now disabled"
|
|
pkill redshift
|
|
fi
|