DISPLAY or something?

This commit is contained in:
Zynh Ludwig 2024-06-27 19:58:07 -07:00
parent bfd130c879
commit af4f7265e0
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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; [