Add xdg script
This commit is contained in:
parent
2b1a2d7ffa
commit
2bb77a872f
@ -2,6 +2,9 @@
|
|||||||
# Autostart
|
# Autostart
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
|
# Setup XDG for screen sharing
|
||||||
|
exec-once = ~/dotfiles/hypr/scripts/xdg.sh
|
||||||
|
|
||||||
# Load Dunst Notification Manager
|
# Load Dunst Notification Manager
|
||||||
exec-once = dunst
|
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 &
|
Loading…
x
Reference in New Issue
Block a user