update config file

This commit is contained in:
lostecho
2023-04-18 13:57:23 +08:00
parent 6af3af3235
commit 487cf457e7
3 changed files with 21 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ THEMEIS=$(readlink -f ~/.config/waybar/style.css | cut -d '-' -f2)
#show the correct wallpapper based on the theme
if [ $THEMEIS == "dark.css" ]; then
swww img ~/.config/hypr/wallpaper-dark.jpg
swww img -o eDP-1 ~/.config/hypr/wallpaper-dark.jpg && swww img -o DP-1 ~/.config/hypr/wallpaper-dark.jpg
else
swww img ~/.config/hypr/wallpaper.jpg
fi
swww img -o eDP-1 ~/.config/hypr/wallpaper.jpg && swww img -o DP-1 ~/.config/hypr/wallpaper.jpg
fi