Add xdg script

This commit is contained in:
Stephan Raabe 2023-11-13 08:55:17 +01:00
parent 2b1a2d7ffa
commit 2bb77a872f
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,9 @@
# Autostart
# -----------------------------------------------------
# Setup XDG for screen sharing
exec-once = ~/dotfiles/hypr/scripts/xdg.sh
# Load Dunst Notification Manager
exec-once = dunst

12
hypr/scripts/xdg.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
sleep 1
killall xdg-desktop-portal-hyprland
killall xdg-desktop-portal-gnome
killall xdg-desktop-portal-kde
killall xdg-desktop-portal-lxqt
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
sleep 1
/usr/lib/xdg-desktop-portal-hyprland &
sleep 2
/usr/lib/xdg-desktop-portal &