commit 92b83ca86ca177a53c8ef9187033014e12decd46 parent 29a6e71400f3bc7d8425f590388447827f41b97f Author: Jacob R. Edwards <n/a> Date: Sat, 5 Nov 2022 09:45:37 -0500 Convert images to PNG format in setbg Diffstat:
| M | local/bin/bin/setbg | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/local/bin/bin/setbg b/local/bin/bin/setbg @@ -9,5 +9,6 @@ bg="${XDG_CONFIG_HOME:-$HOME/.config}/wallpaper" -test $# -gt 0 && cp "$@" "$bg" +test $# -gt 0 && + convert "$1" png:"$bg" xwallpaper --zoom "$bg"