automatically change color theme after changing wallpaper
This commit is contained in:
@@ -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"
|
||||
)"
|
||||
Reference in New Issue
Block a user