aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/start-portal
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-27 17:36:26 +0300
committerawy <awy@tutamail.com>2024-08-27 17:36:26 +0300
commitfd953c5191677355b789ea636f61de5a83fbf38c (patch)
tree1d4c45e6ffa8590fe2511f4ca7f5f8374c5781b5 /.local/bin/start-portal
parent427dc591da83a94e352840c335ea41b96983e7e4 (diff)
stuff
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" &