From 9588be73d9a42682c746a0db5b5b23fa0ecc5ae5 Mon Sep 17 00:00:00 2001 From: Viyurz Date: Sat, 29 Jun 2024 17:25:52 +0200 Subject: [PATCH] Theme changer: Update magick commands --- .scripts/theme-changer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.scripts/theme-changer.sh b/.scripts/theme-changer.sh index aa0e215..25fd4b4 100755 --- a/.scripts/theme-changer.sh +++ b/.scripts/theme-changer.sh @@ -30,7 +30,7 @@ EOF function check_requirements { req_satisfied=1 - for executable in convert hyprctl hyprpaper kitty mako pastel wal waybar wlogout wofi; do + for executable in hyprctl hyprpaper kitty magick mako pastel wal waybar wlogout wofi; do if ! which "$executable" > /dev/null; then echo "Executable $executable not found!" req_satisfied=0 @@ -282,8 +282,8 @@ function set_waybar_theme { function set_wlogout_theme { for img in lock reboot shutdown logout; do - convert "$HOME/.config/wlogout/$img.png" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png" - convert "$HOME/.config/wlogout/$img-focus.png" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png" + magick "$HOME/.config/wlogout/$img.png" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png" + magick "$HOME/.config/wlogout/$img-focus.png" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png" done }