automatically change color theme after changing wallpaper

This commit is contained in:
2025-08-01 18:47:21 +02:00
parent eeb268b632
commit b1ce6e1f83
166 changed files with 147697 additions and 166 deletions

View File

@@ -1,3 +1,9 @@
###
# @Author: Uyanide pywang0608@foxmail.com
# @Date: 2025-06-14 20:23:25
# @LastEditTime: 2025-08-01 18:38:47
# @Discription:
###
#!/bin/fish
# if the path is given as an argument, use that
@@ -23,4 +29,9 @@ hyprctl hyprpaper reload ,"$image"
echo "preload = $image" > ~/.config/hypr/hyprpaper.conf
echo "wallpaper = , $image" >> ~/.config/hypr/hyprpaper.conf
notify-send "Wallpaper Changed" "Wallpaper changed to \"$image\" successfully."
notify-send "Wallpaper Changed" "$image"
change-colortheme.py "#$(
notify-send "Extracting color from wallpaper" "This may take a few seconds..."
extract-color.py "$image"
)"