10 lines
173 B
Bash
10 lines
173 B
Bash
|
#!/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
|