From 347c183a3d4728b74c9a3be765bb8e97386b2ae8 Mon Sep 17 00:00:00 2001 From: Kris Yotam <75515498+krisyotam@users.noreply.github.com> Date: Thu, 2 Jul 2026 01:21:16 -0500 Subject: [PATCH] wallpapermenu: make CAPS call optional so it doesn't error where CAPS is absent --- .local/bin/wallpapermenu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/wallpapermenu b/.local/bin/wallpapermenu index cf210d1755cb7611db1b0bde3b019e431843c552..29587af8855b5569b604666e4b469a792dff750e 100755 --- a/.local/bin/wallpapermenu +++ b/.local/bin/wallpapermenu @@ -78,7 +78,7 @@ browse() { setwp() { xwallpaper --output "$(primary_output)" --zoom "$1" - CAPS + command -v CAPS >/dev/null 2>&1 && CAPS } setall() { @@ -87,7 +87,7 @@ setall() { [ -n "$out" ] && args+=(--output "$out" --zoom "$1") done < <(xrandr --query | awk '/ connected/ {print $1}') xwallpaper "${args[@]}" - CAPS + command -v CAPS >/dev/null 2>&1 && CAPS } case "$1" in