blob: 5cb3c01bb1a14f4edeba8b34acce993ccafe743e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env bash
# /* ---- 💫 https://github.com/LinuxBeginnings 💫 ---- */ ##
# Ubuntu 26.04 workaround: start portals manually before waybar.
set -euo pipefail
if [[ -r /etc/os-release ]]; then
# shellcheck disable=SC1091
. /etc/os-release
if [[ "${ID:-}" == "ubuntu" && "${VERSION_ID:-}" == "26.04" ]]; then
if [[ -x "$HOME/.config/hypr/scripts/PortalHyprland.sh" ]]; then
"$HOME/.config/hypr/scripts/PortalHyprland.sh"
fi
fi
fi
|