Compare commits
2 commits
6c4d4263f7
...
9f3082ff5a
Author | SHA1 | Date | |
---|---|---|---|
9f3082ff5a | |||
2b353ac1bd |
3 changed files with 11 additions and 0 deletions
1
home.nix
1
home.nix
|
@ -13,6 +13,7 @@
|
||||||
snowhawk.cursor.enable = true;
|
snowhawk.cursor.enable = true;
|
||||||
snowhawk.projects.enable = true;
|
snowhawk.projects.enable = true;
|
||||||
|
|
||||||
|
xsession.numlock.enable = true;
|
||||||
|
|
||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
services.unclutter.enable = true;
|
services.unclutter.enable = true;
|
||||||
|
|
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