28 lines
649 B
Bash
Raw Normal View History

2023-11-13 08:55:17 +01:00
#!/bin/bash
2023-11-13 08:58:21 +01:00
# __ ______ ____
# \ \/ / _ \ / ___|
# \ /| | | | | _
# / \| |_| | |_| |
# /_/\_\____/ \____|
#
# -----------------------------------------------------
2023-11-13 08:55:17 +01:00
sleep 1
2023-11-17 13:48:02 +01:00
2023-11-13 08:58:21 +01:00
# kill all possible running xdg-desktop-portals
2024-05-27 15:10:50 +02:00
killall -e xdg-desktop-portal-hyprland
killall -e xdg-desktop-portal-gnome
killall -e xdg-desktop-portal-kde
killall -e xdg-desktop-portal-lxqt
killall -e xdg-desktop-portal-wlr
killall -e xdg-desktop-portal-gtk
2023-11-13 08:55:17 +01:00
killall xdg-desktop-portal
sleep 1
2023-11-17 13:48:02 +01:00
2023-11-13 08:58:21 +01:00
# start xdg-desktop-portal-hyprland
2023-11-13 08:55:17 +01:00
/usr/lib/xdg-desktop-portal-hyprland &
sleep 2
2023-11-17 13:48:02 +01:00
2023-11-13 08:58:21 +01:00
# start xdg-desktop-portal
2023-11-13 08:55:17 +01:00
/usr/lib/xdg-desktop-portal &
2023-11-17 13:48:02 +01:00
sleep 1