applying changes
This commit is contained in:
13
dotfiles/.local/bin/Plex
Executable file
13
dotfiles/.local/bin/Plex
Executable 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 "$@"
|
||||
Reference in New Issue
Block a user