From b4b9e8d94a05f3452763238011a08826198952d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 28 Apr 2025 11:13:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(rofi):=20not=20selecting=20a?= =?UTF-8?q?=20wallpaper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/rofi/scripts/wallpaper/wallpaper | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/rofi/scripts/wallpaper/wallpaper b/.config/rofi/scripts/wallpaper/wallpaper index b3619b07..d40fe0b9 100755 --- a/.config/rofi/scripts/wallpaper/wallpaper +++ b/.config/rofi/scripts/wallpaper/wallpaper @@ -20,6 +20,10 @@ choice=$( $rofi_cmd ) +if [ -z "$choice" ]; then + exit 1 +fi + WALLPAPER="$wallpapers_dir/$choice" if pgrep -x "hyprpaper" >/dev/null; then