diff options
author | tv <tv@krebsco.de> | 2022-12-09 14:33:18 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-09 14:33:18 +0100 |
commit | 581c20be8f792d48d54465e27845aa184c5677bd (patch) | |
tree | 82b067f4ca97adbaafbd6d84a4e20adb778cdbf6 /makefu/2configs/gui/look-up.nix | |
parent | dc63f2af6b5f21ccecb5c22087efe4a60db8978b (diff) | |
parent | 1df762657baf7d0c27a178113e613c94e6b12aa3 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/gui/look-up.nix')
-rw-r--r-- | makefu/2configs/gui/look-up.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/makefu/2configs/gui/look-up.nix b/makefu/2configs/gui/look-up.nix new file mode 100644 index 00000000..d27f5cff --- /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; + }; + }; +} |