Theme changer: Update magick commands
This commit is contained in:
parent
663f0e5db6
commit
9588be73d9
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ EOF
|
||||||
function check_requirements {
|
function check_requirements {
|
||||||
req_satisfied=1
|
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
|
if ! which "$executable" > /dev/null; then
|
||||||
echo "Executable $executable not found!"
|
echo "Executable $executable not found!"
|
||||||
req_satisfied=0
|
req_satisfied=0
|
||||||
|
@ -282,8 +282,8 @@ function set_waybar_theme {
|
||||||
|
|
||||||
function set_wlogout_theme {
|
function set_wlogout_theme {
|
||||||
for img in lock reboot shutdown logout; do
|
for img in lock reboot shutdown logout; do
|
||||||
convert "$HOME/.config/wlogout/$img.png" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png"
|
magick "$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-focus.png" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue