forked from Shinonome/dots-hyprland
yad -> kdialog (closes #1367)
This commit is contained in:
@@ -267,7 +267,7 @@ main() {
|
||||
# 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
|
||||
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
|
||||
|
||||
switch "$imgpath" "$mode_flag" "$type_flag" "$color_flag" "$color"
|
||||
|
||||
@@ -5,6 +5,7 @@ pkgdesc='Illogical Impulse GTK/Qt Dependencies'
|
||||
arch=(any)
|
||||
license=(None)
|
||||
depends=(
|
||||
kdialog
|
||||
qt6-5compat
|
||||
qt6-base
|
||||
qt6-declarative
|
||||
@@ -22,6 +23,5 @@ depends=(
|
||||
upower
|
||||
wtype
|
||||
xdg-user-dirs-gtk
|
||||
yad
|
||||
ydotool
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user