yad -> kdialog (closes #1367)

This commit is contained in:
end-4
2025-06-07 16:51:02 +02:00
parent 2c548a4296
commit c1a4670de2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ main() {
# Only prompt for wallpaper if not using --color and not using --noswitch and no imgpath set # Only prompt for wallpaper if not using --color and not using --noswitch and no imgpath set
if [[ -z "$imgpath" && -z "$color_flag" && -z "$noswitch_flag" ]]; then if [[ -z "$imgpath" && -z "$color_flag" && -z "$noswitch_flag" ]]; then
cd "$(xdg-user-dir PICTURES)/Wallpapers" 2>/dev/null || cd "$(xdg-user-dir PICTURES)" || return 1 cd "$(xdg-user-dir PICTURES)/Wallpapers" 2>/dev/null || cd "$(xdg-user-dir PICTURES)" || return 1
imgpath="$(yad --width 1200 --height 800 --file --add-preview --large-preview --title='Choose wallpaper')" imgpath="$(kdialog --getopenfilename . --title 'Choose wallpaper')"
fi fi
switch "$imgpath" "$mode_flag" "$type_flag" "$color_flag" "$color" switch "$imgpath" "$mode_flag" "$type_flag" "$color_flag" "$color"
@@ -5,6 +5,7 @@ pkgdesc='Illogical Impulse GTK/Qt Dependencies'
arch=(any) arch=(any)
license=(None) license=(None)
depends=( depends=(
kdialog
qt6-5compat qt6-5compat
qt6-base qt6-base
qt6-declarative qt6-declarative
@@ -22,6 +23,5 @@ depends=(
upower upower
wtype wtype
xdg-user-dirs-gtk xdg-user-dirs-gtk
yad
ydotool ydotool
) )