Moved arch to its own subdirectory

This commit is contained in:
Tibo De Peuter 2023-03-12 19:55:04 +01:00
parent 7cefa8efec
commit f47802351e
70 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Script to disable for an hour or immediately continue wlsunset. 'Toggle'
# Check if wlsunset is still running
pid=$(pgrep wlsunset)
if [[ -z ${pid} ]] ; then
# Start wlsunset right away.
wlsunset -l 50 -L 4 -t 2500 &
else
# Currently stop wlsunset but restart in an hour.
kill ${pid}
~/.scripts/notify.sh 'Stopping sunset' 'Restarting in an hour'
at now +1 hours -f ~/.scripts/wlsunset.sh
fi