config: herbstluftwm: autostart: start redshift if not started yet
This commit is contained in:
parent
48bcf05dd7
commit
30918bab6d
1 changed files with 3 additions and 0 deletions
|
|
@ -211,3 +211,6 @@ herbstclient set tree_style '╾│ ├└╼─┐'
|
||||||
# stop all started panels
|
# stop all started panels
|
||||||
kill ${pids[@]}
|
kill ${pids[@]}
|
||||||
} &
|
} &
|
||||||
|
|
||||||
|
# start redshift if not yet running
|
||||||
|
pgrep redshift > /dev/null || redshift &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue