From fcb5d44b931b777aaf62d68f31c0a5142c23363c Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 6 Nov 2022 09:57:21 +0100 Subject: ma gui: restructure main-laptop --- makefu/2configs/gui/look-up.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makefu/2configs/gui/look-up.nix (limited to 'makefu/2configs/gui') diff --git a/makefu/2configs/gui/look-up.nix b/makefu/2configs/gui/look-up.nix new file mode 100644 index 000000000..d27f5cff7 --- /dev/null +++ b/makefu/2configs/gui/look-up.nix @@ -0,0 +1,13 @@ +{ + systemd.services.look-up = { + startAt = "*:30"; + serviceConfig = { + ExecStart= pkgs.writeDash "look-up" '' + set -x + eval "export '$(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(${pkgs.procps}/bin/pgrep -u ${user} ${window-manager})/environ)'" + ${pkgs.libnotify}/bin/notify-send -u critical -t 9999999 'look up once in a while' + ''; + User = user; + }; + }; +} -- cgit v1.2.3