mirror of
https://github.com/kmein/niveum
synced 2026-03-22 12:51:08 +01:00
wallpaper: fix for X
This commit is contained in:
@@ -17,11 +17,7 @@ in {
|
|||||||
chmod o+rx ${stateDir}
|
chmod o+rx ${stateDir}
|
||||||
cd ${stateDir}
|
cd ${stateDir}
|
||||||
(${pkgs.curl}/bin/curl -s -o wallpaper.tmp -z wallpaper.tmp ${lib.escapeShellArg url} && cp wallpaper.tmp wallpaper) || :
|
(${pkgs.curl}/bin/curl -s -o wallpaper.tmp -z wallpaper.tmp ${lib.escapeShellArg url} && cp wallpaper.tmp wallpaper) || :
|
||||||
if [ -z $SWAYSOCK ]; then
|
${pkgs.feh}/bin/feh --no-fehbg --bg-scale wallpaper
|
||||||
${pkgs.feh}/bin/feh --no-fehbg --bg-scale wallpaper
|
|
||||||
else
|
|
||||||
${pkgs.sway}/bin/swaymsg -s $SWAYSOCK 'output * bg ${stateDir}/wallpaper fill'
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
startAt = "*:00,10,20,30,40,50";
|
startAt = "*:00,10,20,30,40,50";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user