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.
This commit is contained in:
parent
0633ecc35f
commit
bc0d3a7737
3 changed files with 11 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ You also need to install all the dependencies:
|
|||
- Curved Square font https://www.1001freefonts.com/curved-square.font
|
||||
- FontAwesome
|
||||
- JetBrainsMono Font
|
||||
- xdg-desktop-portal-hyprland
|
||||
- xdg-desktop-portal-gtk
|
||||
|
||||
There are probably more, I will update the list next time I'm
|
||||
installing it on a new computer.
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ exec-once = hypridle
|
|||
exec-once = waybar
|
||||
exec-once = swaybg -i ~/.config/hypr/wallpapers/Purple.jpg -m fill
|
||||
exec-once = ~/.config/hypr/scripts/dynamic-borders.sh
|
||||
exec-once = ~/.config/hypr/scripts/xdg-desktop-portal-hyprland.sh
|
||||
|
||||
source = ~/.config/hypr/autostart.conf
|
||||
|
||||
|
|
|
|||
8
hypr/scripts/xdg-desktop-portal-hyprland.sh
Executable file
8
hypr/scripts/xdg-desktop-portal-hyprland.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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 &
|
||||
Loading…
Add table
Add a link
Reference in a new issue