Update theme engine
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -20,11 +20,7 @@ let
|
||||
swww
|
||||
];
|
||||
text = ''
|
||||
if [[ -L "${hmConfig.theme.configDir}"/wallpaper ]]; then
|
||||
exec swww img "${hmConfig.theme.configDir}"/wallpaper
|
||||
elif [[ -f "${hmConfig.theme.configDir}"/color ]]; then
|
||||
exec swww clear "$(<"${hmConfig.theme.configDir}"/color)"
|
||||
fi
|
||||
exec swww img "${hmConfig.theme.configDir}"/wallpaper
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user