8 lines
198 B
Bash
Executable file
8 lines
198 B
Bash
Executable file
#!/bin/sh
|
|
|
|
[[ "$3" == "none" ]] && status=off || status=on
|
|
|
|
case $1 in
|
|
period-changed)
|
|
exec dunstify -i "redshift-status-${status}" -u low -r 6903 "Redshift" "Period changed to $3"
|
|
esac
|