From 818105d3e2c3d77ab38d0c5a09b71b29002948f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 29 Feb 2024 13:03:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(hypr):=20load=20portals=20on?= =?UTF-8?q?=20a=20new=20external=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/scripts/autostart/apps | 1 - .config/hypr/scripts/autostart/services | 3 +-- .config/hypr/scripts/portal | 8 ++++++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100755 .config/hypr/scripts/portal diff --git a/.config/hypr/scripts/autostart/apps b/.config/hypr/scripts/autostart/apps index 4ac5db99..fa556db6 100755 --- a/.config/hypr/scripts/autostart/apps +++ b/.config/hypr/scripts/autostart/apps @@ -2,7 +2,6 @@ # Apps spotify & -# discord & vesktop & thunderbird & obsidian & diff --git a/.config/hypr/scripts/autostart/services b/.config/hypr/scripts/autostart/services index f26840b1..0ffdc656 100755 --- a/.config/hypr/scripts/autostart/services +++ b/.config/hypr/scripts/autostart/services @@ -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 diff --git a/.config/hypr/scripts/portal b/.config/hypr/scripts/portal new file mode 100755 index 00000000..3b5b9bf8 --- /dev/null +++ b/.config/hypr/scripts/portal @@ -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 &