mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-10 07:15:08 -06:00
Fix flatpak not using dark theme (#8964)
* Create set-dark-theme-variant.py * Update entrypoint * Update io.github.softfever.OrcaSlicer.yml * Create uses-dark-theme.py * Update MPFR to 4.2.2 --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com> Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
41c14281e5
commit
98be94a729
4 changed files with 147 additions and 1 deletions
|
@ -6,4 +6,11 @@ grep -q org.freedesktop.Platform.GL.nvidia /.flatpak-info && export WEBKIT_DISAB
|
|||
# Work-around https://github.com/bambulab/BambuStudio/issues/3440
|
||||
export LC_ALL=C.UTF-8
|
||||
|
||||
exec /app/bin/orca-slicer "$@"
|
||||
if XDG_CONFIG_HOME=$HOME/.config /app/bin/uses-dark-theme.py; then
|
||||
export GTK_THEME='Adwaita:dark'
|
||||
export ORCA_SLICER_DARK_THEME='true'
|
||||
echo "Message: $(date +%T): INFO: using dark theme variant"
|
||||
fi
|
||||
|
||||
exec /app/bin/orca-slicer "$@" &
|
||||
$(/app/bin/set-dark-theme-variant.py) &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue