aboutsummaryrefslogtreecommitdiff
path: root/crontab
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-08-19 12:42:52 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-08-19 12:42:52 +0200
commit7d9345c9564370bdb32cbb06d24b238986572ea6 (patch)
treee9690847f8dca5dccfb759dd53b5b7895eb87872 /crontab
parentf064922a74100af86def550d4ef6a50ab4e80203 (diff)
downloaddotfiles-7d9345c9564370bdb32cbb06d24b238986572ea6.tar.gz
dotfiles-7d9345c9564370bdb32cbb06d24b238986572ea6.tar.bz2
dotfiles-7d9345c9564370bdb32cbb06d24b238986572ea6.zip
Added battery-low-notify script and crontab to run it every 10min
Diffstat (limited to 'crontab')
-rw-r--r--crontab/laptop.crontab3
1 files changed, 3 insertions, 0 deletions
diff --git a/crontab/laptop.crontab b/crontab/laptop.crontab
new file mode 100644
index 0000000..18f36f1
--- /dev/null
+++ b/crontab/laptop.crontab
@@ -0,0 +1,3 @@
+*/10 * * * * . $HOME/.zprofile ; DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u $USER)/bus" DISPLAY=:0 battery-low-notify
+
+# vim:ft=crontab