Fixed xdg-desktop-portal-hyprland issue

This commit is contained in:
Warren Hood 2023-12-07 19:11:41 +02:00
parent 00de1f4335
commit 152774c89a
2 changed files with 5 additions and 4 deletions

View file

@ -230,4 +230,5 @@ bind = , XF86AudioNext, exec, ~/.scripts/playerctl-fast next
# Things to execute on launch # Things to execute on launch
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
exec-once = dunst & waybar & /usr/lib/polkit-kde-authentication-agent-1 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

6
setup
View file

@ -12,13 +12,13 @@ git submodule update
# Wayland + Hyprland is quite nice # Wayland + Hyprland is quite nice
setup_hyprland_arch() { setup_hyprland_arch() {
echo "Setting up Hyprland..." 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 # grim + slurp + swappy for screenshots
sudo pacman -S grim slurp swappy wl-clipboard sudo pacman -S grim slurp swappy wl-clipboard
# wdisplays is a decent looking GUI similar to arandr but for Wayland # 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 paru -S wdisplays xwaylandvideobridge-bin xdg-desktop-portal-hyprland-git
} }
# AwesomeWM (X11) - not a bad tiling WM # AwesomeWM (X11) - not a bad tiling WM