Adds setup for hour reminder
This commit is contained in:
parent
869b01ee34
commit
cf87410312
2 changed files with 10 additions and 1 deletions
9
.config/yadm/bootstrap.v2/applications/40-SetupHourReminder.sh
Executable file
9
.config/yadm/bootstrap.v2/applications/40-SetupHourReminder.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/env sh
|
||||||
|
|
||||||
|
setupHourReminders() {
|
||||||
|
systemctl --user daemon-reload
|
||||||
|
systemctl --user enable hour-reminder.timer
|
||||||
|
systemctl --user start hour-reminder.timer
|
||||||
|
}
|
||||||
|
|
||||||
|
addActions setupHourReminders
|
||||||
|
|
@ -111,5 +111,5 @@ echo "# Executing actions... (${#actions[@]})"
|
||||||
for action in "${actions[@]}";
|
for action in "${actions[@]}";
|
||||||
do
|
do
|
||||||
echo "==> Now executing: ${action}"
|
echo "==> Now executing: ${action}"
|
||||||
$action
|
$action > /dev/null
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue