aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/share/bin/bgcol2
-rwxr-xr-x.local/share/mode/switch.d/chromium2
2 files changed, 2 insertions, 2 deletions
diff --git a/.local/share/bin/bgcol b/.local/share/bin/bgcol
index 75b89b4..276e479 100755
--- a/.local/share/bin/bgcol
+++ b/.local/share/bin/bgcol
@@ -4,6 +4,6 @@ if [ -z "$COLOR" ] ; then
. "$XDG_CACHE_HOME/mode/state/theme"
COLOR="$bg"
fi
-convert -size 1x1 "xc:$COLOR" /tmp/bgcol.png
+magick -size 1x1 "xc:$COLOR" /tmp/bgcol.png
feh --no-fehbg --bg-tile /tmp/bgcol.png
rm /tmp/bgcol.png
diff --git a/.local/share/mode/switch.d/chromium b/.local/share/mode/switch.d/chromium
index 6ccfca6..9048b80 100755
--- a/.local/share/mode/switch.d/chromium
+++ b/.local/share/mode/switch.d/chromium
@@ -4,7 +4,7 @@ PREFIX="$XDG_CACHE_HOME/mode/chromium"
mkdir -p "$PREFIX"
rm -f "$PREFIX/Cached Theme.pak"
-convert -size 100x100 "xc:$bg" "$PREFIX/bg.png"
+magick -size 100x100 "xc:$bg" "$PREFIX/bg.png"
bg_alt=$(mix_rgb $color7 $bg 0.20)
fg_alt=$(mix_rgb $color15 $fg 0.60)
bg="$(hex_to_rgb_array "$bg")"