From 152774c89ae9277201d1d4bd9d2efb02c93e3eac Mon Sep 17 00:00:00 2001 From: Warren Hood Date: Thu, 7 Dec 2023 19:11:41 +0200 Subject: [PATCH] Fixed xdg-desktop-portal-hyprland issue --- hyprland/.config/hypr/hyprland.conf | 3 ++- setup | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hyprland/.config/hypr/hyprland.conf b/hyprland/.config/hypr/hyprland.conf index ce4524a..9f4ca9f 100644 --- a/hyprland/.config/hypr/hyprland.conf +++ b/hyprland/.config/hypr/hyprland.conf @@ -230,4 +230,5 @@ bind = , XF86AudioNext, exec, ~/.scripts/playerctl-fast next # Things to execute on launch # exec-once = waybar & hyprpaper & firefox exec-once = dunst & waybar & /usr/lib/polkit-kde-authentication-agent-1 -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +# exec-once = ~/.scripts/start-xdg-desktop-portal-hyprland +# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP diff --git a/setup b/setup index f44c5ad..17a6a84 100755 --- a/setup +++ b/setup @@ -12,13 +12,13 @@ git submodule update # Wayland + Hyprland is quite nice setup_hyprland_arch() { echo "Setting up Hyprland..." - sudo pacman -S wayland hyprland waybar wofi dunst pipewire wireplumber xdg-desktop-portal-hyprland polkit-kde-agent qt5-wayland qt6-wayland + sudo pacman -S wayland hyprland waybar wofi dunst pipewire wireplumber polkit-kde-agent qt5-wayland qt6-wayland # grim + slurp + swappy for screenshots sudo pacman -S grim slurp swappy wl-clipboard - # wdisplays is a decent looking GUI similar to arandr but for Wayland - paru -S wdisplays xwaylandvideobridge-bin + # wdisplays is a decent looking GUI similar to arandr but for Wayland, and xdg-desktop-portal-hyprland is useful for screensharing + paru -S wdisplays xwaylandvideobridge-bin xdg-desktop-portal-hyprland-git } # AwesomeWM (X11) - not a bad tiling WM