🐛 fix(rofi): not selecting a wallpaper
This commit is contained in:
parent
26f57a47ea
commit
b4b9e8d94a
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ choice=$(
|
||||||
$rofi_cmd
|
$rofi_cmd
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if [ -z "$choice" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
WALLPAPER="$wallpapers_dir/$choice"
|
WALLPAPER="$wallpapers_dir/$choice"
|
||||||
|
|
||||||
if pgrep -x "hyprpaper" >/dev/null; then
|
if pgrep -x "hyprpaper" >/dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue