From 90854019fc940473a0ce4fff29c402e54841f704 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 22 Nov 2024 03:29:56 -0500 Subject: Another day --- software/windowmanager.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'software/windowmanager.nix') diff --git a/software/windowmanager.nix b/software/windowmanager.nix index d43b9fe..c89913b 100644 --- a/software/windowmanager.nix +++ b/software/windowmanager.nix @@ -40,7 +40,7 @@ playerctl # control next/previous song glib # for gdbus needed by volumectl ]; - + # Screen capture/sharing: xdg.portal = { enable = true; @@ -65,4 +65,22 @@ # Force wayland on electron environment.sessionVariables.NIXOS_OZONE_WL = "1"; + # Trigger updates to waybar + services.cron = { + enable = true; + systemCronJobs = [ + # Time & Date + "* * * * * kill -42 $(pidof waybar)" + "* * * * * kill -40 $(pidof waybar)" + # Battery + "* * * * * kill -35 $(pidof waybar)" + # Yadm Dotfiles + "*/10 * * * * kill -41 $(pidof waybar)" + # Emails + "*/5 * * * * kill -46 $(pidof waybar)" + # Gentoo News + "*/30 * * * * kill -45 $(pidof waybar)" + ]; + }; + } -- cgit v1.2.3