aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/portal
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-08-14 18:03:22 +0300
committerawy <awy@awy.one>2025-08-14 18:03:22 +0300
commitf8fc78a2e54ac81ddd047055749f3ab616560f0e (patch)
tree6a0e042aad0f352cc4ff7c12d128c0642c1aad83 /.local/bin/portal
parenta4ee024f382ec90b85c0da51bf628cbecb48c4ee (diff)
downloadhyprdots-f8fc78a2e54ac81ddd047055749f3ab616560f0e.tar.gz
dmenu wrapper for hyprland screenshare picker
Diffstat (limited to '.local/bin/portal')
-rwxr-xr-x.local/bin/portal5
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/portal b/.local/bin/portal
index b0afa23..c73e77b 100755
--- a/.local/bin/portal
+++ b/.local/bin/portal
@@ -1,5 +1,8 @@
#!/bin/sh
sleep 1
+killall /lib/xdg-desktop-portal-hyprland
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
-/lib/xdg-desktop-portal-wlr &
+killall xdg-desktop-portal-termfilechooser
+/lib/xdg-desktop-portal-hyprland &
+/lib/xdg-desktop-portal-termfilechooser -r &