10 lines
173 B
Bash
Executable file
10 lines
173 B
Bash
Executable file
#! /bin/bash
|
|
|
|
if pgrep -x redshift > /dev/null
|
|
then
|
|
pgrep redshift | xargs -n1 kill -9 | notify-send 'Redshift stopped'
|
|
else
|
|
notify-send 'Redshift started'
|
|
redshift &
|
|
fi
|