feat(hypr): load portals on a new external script

This commit is contained in:
Sergio Laín 2024-02-29 13:03:08 +01:00
parent b2248d64da
commit 818105d3e2
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 9 additions and 3 deletions

View file

@ -2,7 +2,6 @@
# Apps
spotify &
# discord &
vesktop &
thunderbird &
obsidian &

View file

@ -37,8 +37,7 @@ wl-paste --watch cliphist store &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# Screen sharing and portals
/usr/lib/xdg-desktop-portal-hyprland &
/usr/lib/xdg-desktop-portal &
"$scripts"/portal &
# xwaylandvideobridge &
# Audio

8
.config/hypr/scripts/portal Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal
sleep 1
/usr/lib/xdg-desktop-portal-hyprland &
/usr/lib/xdg-desktop-portal &