From 8b6e5a94c4fc2c95bd99e1cdbf644322e7814bbb Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 2 Jun 2024 20:51:38 +0200 Subject: [PATCH] Add xdg-desktop-portal config --- install.sh | 3 ++- lone-files/hyprland-portals.conf | 3 +++ uninstall.sh | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 lone-files/hyprland-portals.conf 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"