m 2 main-laptop: look up once in a while
This commit is contained in:
parent
5fae8ca63b
commit
ae8c48c2c4
|
@ -71,5 +71,15 @@ in {
|
|||
latitude = "48.7";
|
||||
longitude = "9.1";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue