This commit is contained in:
Stephan Raabe
2023-08-20 11:46:46 +02:00
parent 7fb836bfbb
commit 585834d31d
12 changed files with 205 additions and 88 deletions

View File

@@ -19,6 +19,11 @@ wal -q -i ~/wallpaper/
# -----------------------------------------------------
source "$HOME/.cache/wal/colors.sh"
# -----------------------------------------------------
# Copy color file to waybar folder
# -----------------------------------------------------
cp ~/.cache/wal/colors-waybar.css ~/dotfiles/waybar/
# -----------------------------------------------------
# get wallpaper iamge name
# -----------------------------------------------------
@@ -28,4 +33,11 @@ newwall=$(echo $wallpaper | sed "s|$HOME/wallpaper/||g")
# Set the new wallpaper
# -----------------------------------------------------
swww img $wallpaper --transition-step 20 --transition-fps=20
~/dotfiles/waybar/reload.sh
# -----------------------------------------------------
# Send notification
# -----------------------------------------------------
notify-send "Theme and Wallpaper updated" "With image $newwall"
echo "DONE!"