diff --git a/install.sh b/install.sh index 0514971a..1146bc0d 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ function link() { ) # create directories -mkdir -p "${HOME}/.config" "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" +mkdir -p "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" "${HOME}/.config/xdg-desktop-portal" # jobrunner link "jobrunner/daemon.sh" ".local/bin/jobrunner" @@ -50,6 +50,7 @@ link "hypr" ".config/hypr" link "waybar" ".config/waybar" link "fnott" ".config/fnott" link "eww" ".config/eww" +link "lone-files/hyprland-portals.conf" ".config/xdg-desktop-portal/hyprland-portals.conf" # programs link "neofetch" ".config/neofetch" diff --git a/lone-files/hyprland-portals.conf b/lone-files/hyprland-portals.conf new file mode 100644 index 00000000..cf421e6b --- /dev/null +++ b/lone-files/hyprland-portals.conf @@ -0,0 +1,3 @@ +[preferred] +default=hyprland;gtk +org.freedesktop.impl.portal.FileChooser=kde diff --git a/uninstall.sh b/uninstall.sh index 8268aa7d..6c00bace 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -30,6 +30,7 @@ unlink ".config/hypr" unlink ".config/waybar" unlink ".config/fnott" unlink ".config/eww" +unlink ".config/xdg-desktop-portal/hyprland-portals.conf" # programs unlink ".config/neofetch"