Hyprland-dotfiles/hypr/scripts/xdg.sh

28 lines
649 B
Bash
Raw Normal View History

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