aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/start-portal
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/start-portal')
-rwxr-xr-x.local/bin/start-portal7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/start-portal b/.local/bin/start-portal
new file mode 100755
index 0000000..4fe3003
--- /dev/null
+++ b/.local/bin/start-portal
@@ -0,0 +1,7 @@
+#!/bin/dash
+
+killall "xdg-desktop-portal" "xdg-desktop-portal-hyprland" "xdg-desktop-portal-wlr"
+sleep "2"
+"/lib/xdg-desktop-portal-hyprland" &
+sleep "2"
+"/lib/xdg-desktop-portal" &