hypr-dotfiles/hypr/scripts/xdg-desktop-portal-hyprland.sh
Jeena bc0d3a7737 Add xdg-desktop-portal-hyprland as dependency
Also to start it, for some reason it needs to be killed and
there needs to be a sleep, etc. to avoid some race conditions.
Therefor I added this weird shell script to start it.
2025-12-13 14:14:04 +09:00

8 lines
162 B
Bash
Executable file

#!/bin/sh
sleep 1
killall -e xdg-desktop-portal-hyprland
killall xdg-desktop-portal
/usr/lib/xdg-desktop-portal-hyprland &
sleep 2
/usr/lib/xdg-desktop-portal &