add hostname to background image
This commit is contained in:
parent
ecdbed74dc
commit
9e0f37accd
1 changed files with 7 additions and 3 deletions
|
@ -33,7 +33,11 @@ let
|
|||
${pkgs.findutils}/bin/xargs \
|
||||
${pkgs.polygon-art.polygon-art}/bin/rings \
|
||||
/dev/shm/background.png && \
|
||||
${pkgs.feh}/bin/feh --bg-scale /dev/shm/background.png
|
||||
${pkgs.imagemagick}/bin/convert /dev/shm/background.png \
|
||||
-font ${pkgs.ubuntu_font_family}/share/fonts/ubuntu/UbuntuMono-B.ttf \
|
||||
-gravity Center -pointsize 30 -annotate 0 '${config.networking.hostName}' \
|
||||
/dev/shm/background_with_text.png && \
|
||||
${pkgs.feh}/bin/feh --bg-scale /dev/shm/background_with_text.png
|
||||
'';
|
||||
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue