first commit

This commit is contained in:
2023-04-16 21:38:29 +08:00
commit 5972396a0d
23 changed files with 2221 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/bash
#start swwww
swww query || swww init
#figure out which waybar theme is set
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
else
swww img ~/.config/hypr/wallpaper.jpg
fi