dwm datetime

This commit is contained in:
Zynh Ludwig 2024-06-27 19:22:58 -07:00
parent 2b353ac1bd
commit 9f3082ff5a
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
while true; do
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% xsetroot -name %
done

View file

@ -23,6 +23,12 @@ in
fade = false; fade = false;
}; };
systemd.user.services.xrootdatetime = {
script = builtins.readFile ../home/scripts/x-root-datetime.sh;
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dmenu dmenu
]; ];