2023-11-13 07:55:17 +00:00
|
|
|
#!/bin/bash
|
2023-11-13 07:58:21 +00:00
|
|
|
# __ ______ ____
|
|
|
|
# \ \/ / _ \ / ___|
|
|
|
|
# \ /| | | | | _
|
|
|
|
# / \| |_| | |_| |
|
|
|
|
# /_/\_\____/ \____|
|
|
|
|
#
|
|
|
|
# -----------------------------------------------------
|
2023-11-13 07:55:17 +00:00
|
|
|
sleep 1
|
2023-11-13 07:58:21 +00:00
|
|
|
# kill all possible running xdg-desktop-portals
|
2023-11-13 07:55:17 +00:00
|
|
|
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
|
2023-11-13 07:58:21 +00:00
|
|
|
# start xdg-desktop-portal-hyprland
|
2023-11-13 07:55:17 +00:00
|
|
|
/usr/lib/xdg-desktop-portal-hyprland &
|
|
|
|
sleep 2
|
2023-11-13 07:58:21 +00:00
|
|
|
# start xdg-desktop-portal
|
2023-11-13 07:55:17 +00:00
|
|
|
/usr/lib/xdg-desktop-portal &
|