From 39c5dc2c667d3809c07f7a17838b750dd6b84c8e Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 8 Jan 2023 14:08:45 -0500 Subject: [PATCH] ENH update conky --- .symlinks/conky-configs/conky-laptop.dhall | 2 +- dot_config/systemd/user/conky_seafile.service | 9 +++++++++ dot_config/systemd/user/conky_seafile.timer | 9 +++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 dot_config/systemd/user/conky_seafile.service create mode 100644 dot_config/systemd/user/conky_seafile.timer diff --git a/.symlinks/conky-configs/conky-laptop.dhall b/.symlinks/conky-configs/conky-laptop.dhall index 216e6dc..f90a2f6 100644 --- a/.symlinks/conky-configs/conky-laptop.dhall +++ b/.symlinks/conky-configs/conky-laptop.dhall @@ -4,9 +4,9 @@ let filesystem = C.ModType.filesystem C.FileSystem::{ , show_smart = True + , show_seafile = True , fs_paths = [ { path = "/", name = "root" } - , { path = "/boot", name = "boot" } , { path = "/home", name = "home" } , { path = "/mnt/data", name = "data" } , { path = "/mnt/dcache", name = "dcache" } diff --git a/dot_config/systemd/user/conky_seafile.service b/dot_config/systemd/user/conky_seafile.service new file mode 100644 index 0000000..9617517 --- /dev/null +++ b/dot_config/systemd/user/conky_seafile.service @@ -0,0 +1,9 @@ +[Unit] +Description=Conky Seafile Update Service + +[Service] +Type=oneshot +ExecStart=%h/.config/conky/scripts/seafile_status + +[Install] +WantedBy=default.target diff --git a/dot_config/systemd/user/conky_seafile.timer b/dot_config/systemd/user/conky_seafile.timer new file mode 100644 index 0000000..3c73a88 --- /dev/null +++ b/dot_config/systemd/user/conky_seafile.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Conky Seafile Update Timer + +[Timer] +OnBootSec=0s +OnUnitActiveSec=1m + +[Install] +WantedBy=timers.target