ma gui: restructure main-laptop
This commit is contained in:
parent
883d695ec7
commit
fcb5d44b93
13
makefu/2configs/gui/look-up.nix
Normal file
13
makefu/2configs/gui/look-up.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -12,6 +12,7 @@ let
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./gui/base.nix
|
./gui/base.nix
|
||||||
|
./gui/look-up.nix
|
||||||
./fetchWallpaper.nix
|
./fetchWallpaper.nix
|
||||||
./zsh-user.nix
|
./zsh-user.nix
|
||||||
./tools/core.nix
|
./tools/core.nix
|
||||||
|
@ -72,15 +73,4 @@ in {
|
||||||
location.latitude = 48.7;
|
location.latitude = 48.7;
|
||||||
location.longitude = 9.1;
|
location.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