systemd user directory for timers
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
liberapay: marcpartensky
|
||||
patreon: marcpartensky
|
||||
github: marcpartensky
|
||||
custom:
|
||||
# - monero:43J2XmRtjDPRLD35UsYGH2AZamFBQz7dt4VdvZXVm3SuadTrvcoXUXBRUNHqukFte23Q5TWXqhbwaLJJgoVQzzbe2AJDANQ
|
||||
- https://paypal.me/marcpartensky
|
||||
- https://buymeacoffee.com/marcpartensky
|
||||
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Notify when the battery is low and the computer is discharching.
|
||||
|
||||
[Service]
|
||||
ExecStart=brightnessctl s 1%
|
||||
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Notify when the ram is low and the computer is overloading.
|
||||
|
||||
[Service]
|
||||
ExecStart=sh -c ~/.local/bin/lowram
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Notify when the battery is low and the computer is discharging.
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* *:*:*
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
|
||||
[Service]
|
||||
# WorkingDirectory=/path/to/script
|
||||
ExecStart=sh -c ~/.local/bin/lowram
|
||||
Reference in New Issue
Block a user