diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-02-20 17:36:40 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-02-20 17:36:40 -0500 |
| commit | 0e02857355b5f3546cf8a5e083221217d9126dc3 (patch) | |
| tree | 59f9d9d7fa8eec93d92d4c657b428099fdab1630 | |
| parent | b212087734c4dbc959a302d8a3f238eaffc27272 (diff) | |
Added script for ubuntu 26.04 need to start waybar
For some reason, yet unknown
```
exec-once = /usr/libexec/xdg-desktop-portal-hyprland &
exec-once = /usr/libexec/xdg-desktop-portal &
exec-once = waybar -l info
```
is needed to start waybar on ubuntu 26.04 (currently beta)
otherwise it fails with a free desktop timeout error
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: hypr/configs/Startup_Apps.conf
new file: hypr/scripts/PortalHyprlandUbuntu2604.sh
| -rw-r--r-- | config/hypr/configs/Startup_Apps.conf | 1 | ||||
| -rwxr-xr-x | config/hypr/scripts/PortalHyprlandUbuntu2604.sh | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/config/hypr/configs/Startup_Apps.conf b/config/hypr/configs/Startup_Apps.conf index c0ca9c41..67680af4 100644 --- a/config/hypr/configs/Startup_Apps.conf +++ b/config/hypr/configs/Startup_Apps.conf @@ -24,6 +24,7 @@ exec-once = swaync #exec-once = ags #exec-once = blueman-applet #exec-once = rog-control-center +exec-once = $scriptsDir/PortalHyprlandUbuntu2604.sh exec-once = waybar exec-once = qs -c overview # Quickshell Overview exec-once = hypridle 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 |
