aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/PortalHyprlandUbuntu2604.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/hypr/scripts/PortalHyprlandUbuntu2604.sh b/config/hypr/scripts/PortalHyprlandUbuntu2604.sh
new file mode 100755
index 00000000..5cb3c01b
--- /dev/null
+++ b/config/hypr/scripts/PortalHyprlandUbuntu2604.sh
@@ -0,0 +1,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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage