Add xdg script
This commit is contained in:
@@ -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
12
hypr/scripts/xdg.sh
Executable 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 &
|
||||
Reference in New Issue
Block a user