diff --git a/dots/.config/hypr/hyprland.conf b/dots/.config/hypr/hyprland.conf index 29bf65a4..3920a826 100644 --- a/dots/.config/hypr/hyprland.conf +++ b/dots/.config/hypr/hyprland.conf @@ -8,6 +8,7 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME exec-once = ~/.config/hypr/scripts/launchers/events-monitor.bash exec-once = ~/.config/hypr/scripts/launchers/launch-waybar.bash +exec-once = ~/.config/hypr/scripts/launchers/launch-desktop-portal.bash exec-once = mako --history 1 exec-once = udiskie --tray exec-once = blueman-applet diff --git a/dots/.config/hypr/scripts/launchers/launch-desktop-portal.bash b/dots/.config/hypr/scripts/launchers/launch-desktop-portal.bash new file mode 100755 index 00000000..bea00051 --- /dev/null +++ b/dots/.config/hypr/scripts/launchers/launch-desktop-portal.bash @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +sleep 1 +killall -e xdg-desktop-portal-hyprland +killall -e xdg-desktop-portal-wlr +killall xdg-desktop-portal +/usr/lib/xdg-desktop-portal-hyprland & +sleep 2 +/usr/lib/xdg-desktop-portal &