applying changes

This commit is contained in:
2026-10-11 16:50:54 +01:00
parent d395a155af
commit 0415804b67
4 changed files with 226 additions and 0 deletions

13
dotfiles/.local/bin/Plex Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Wrapper for the plex-desktop package's /usr/bin/Plex (-> /opt/plex-desktop/Plex.sh).
#
# QT_QUICK_CONTROLS_STYLE=org.hyprland.style is set globally in
# hypr/core/env.lua for other Qt/QML apps' theming (hyprland-qt-support), but
# Plex Desktop bundles its own private Qt/QML runtime that doesn't ship that
# style plugin — inheriting the var makes it fail to load its UI and exit
# immediately with "module \"org.hyprland.style\" is not installed" (see
# ~/.local/share/plex/Logs/Plex.log). This dir is first on $PATH, so it
# shadows /usr/bin/Plex for both a terminal launch and the .desktop entry
# (Exec=Plex is PATH-resolved) without touching the global env var.
unset QT_QUICK_CONTROLS_STYLE
exec /opt/plex-desktop/Plex.sh "$@"