DISPLAY or something?
This commit is contained in:
parent
bfd130c879
commit
af4f7265e0
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||||
while true; do
|
while true; do
|
||||||
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% xsetroot -name %
|
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% xsetroot -name %
|
||||||
done
|
done
|
||||||
|
|
|
@ -27,6 +27,7 @@ in
|
||||||
script = builtins.readFile ../home/scripts/x-root-datetime.sh;
|
script = builtins.readFile ../home/scripts/x-root-datetime.sh;
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
partOf = [ "graphical-session.target" ];
|
partOf = [ "graphical-session.target" ];
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue