fix(hypr): ensure desktop portals run
This commit is contained in:
parent
493423339c
commit
01b74367b5
@ -4,11 +4,8 @@ source = ~/.config/hypr/wm/bindings.conf
|
||||
source = ~/.config/hypr/wm/appearance.conf
|
||||
source = ~/.config/hypr/wm/monitors.conf
|
||||
source = ~/.config/hypr/wm/window-rules.conf
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
|
||||
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
|
||||
@ -18,3 +15,6 @@ exec = sleep 5 && opensnitch-ui --background
|
||||
exec = systemd-run --user -u wallpaper-manager ~/.config/hypr/scripts/init-wallpapers.bash || systemctl --user restart wallpaper-manager
|
||||
exec-once = systemctl --user start compositor.target
|
||||
exec-once = xwaylandvideobridge
|
||||
exec = ~/.config/hypr/scripts/launchers/launch-desktop-portal.bash
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
|
||||
|
@ -3,6 +3,9 @@ sleep 1
|
||||
killall -e xdg-desktop-portal-hyprland
|
||||
killall -e xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
/usr/lib/xdg-desktop-portal-hyprland --verbose &
|
||||
sleep 2
|
||||
/usr/lib/xdg-desktop-portal &
|
||||
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
notify-send "Hyprland Desktop Portal" "Hyprland Desktop Portals Are Ready" -a "Hyprland"
|
||||
|
Loading…
Reference in New Issue
Block a user