dotfiles/sysmenu/script/redshift_tog.sh

8 lines
92 B
Bash
Executable file

#!/usr/bin/bash
if pidof redshift > /dev/null; then
killall redshift
else
redshift &
fi