dwm datetime
This commit is contained in:
parent
2b353ac1bd
commit
9f3082ff5a
2 changed files with 10 additions and 0 deletions
4
home/scripts/x-root-datetime.sh
Executable file
4
home/scripts/x-root-datetime.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
while true; do
|
||||||
|
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% xsetroot -name %
|
||||||
|
done
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue