Skip to content

Commit

Permalink
Fixes in gtk theme in fluent
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Oct 10, 2022
1 parent 2477b3f commit febf5c5
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 67 deletions.
135 changes: 69 additions & 66 deletions usr/bin/startkde-biglinux
Original file line number Diff line number Diff line change
Expand Up @@ -239,72 +239,75 @@ fi
# systemctl --user start lattedock
# fi

# # Less transparent Fluent plasma theme if dont have 3d accel
# if [ "$(glxinfo | grep llvmpipe)" = "" ]; then
# rm -Rf ~/.local/share/plasma/desktoptheme/Fluent/
# rm -Rf ~/.local/share/plasma/desktoptheme/Fluent-round/
# #export KWIN_EFFECTS_FORCE_ANIMATIONS=1
# else
# # export QT_QUICK_BACKEND=software
# # export QSG_RENDER_LOOP=basic
# # export MESA_NO_ERROR=1
# # export MESA_SHADER_CACHE_DISABLE=true
# # export MESA_XSYNC=0
# # export LIBGL_ALWAYS_SOFTWARE=1
# # export DRI_NO_MSAA=1
# # export MESA_GL_VERSION_OVERRIDE=4.4
# # export MESA_GLSL_VERSION_OVERRIDE=120
# #export GALLIUM_DRIVER=swrast
# mkdir -p ~/.local/share/plasma/desktoptheme/Fluent
# echo '[Desktop Entry]
# Name=Fluent
# Comment=Fluent theme for plasma
#
# X-KDE-PluginInfo-Author=Vince Liuice
# [email protected]
# X-KDE-PluginInfo-Name=Fluent
# X-KDE-PluginInfo-Version=5.78.0
# X-KDE-PluginInfo-Website=https://plasma.kde.org
# X-KDE-PluginInfo-Category=
# X-KDE-PluginInfo-License=LGPL
# X-KDE-PluginInfo-EnabledByDefault=true
# X-Plasma-API=5.0
#
# [ContrastEffect]
# enabled=true
# contrast=0.25
# intensity=1
# saturation=5
#
# [AdaptiveTransparency]
# enabled=true' > ~/.local/share/plasma/desktoptheme/Fluent/metadata.desktop
#
# mkdir -p ~/.local/share/plasma/desktoptheme/Fluent-round
#
# echo '[Desktop Entry]
# Name=Fluent-round
# Comment=Fluent theme for plasma
#
# X-KDE-PluginInfo-Author=Vince Liuice
# [email protected]
# X-KDE-PluginInfo-Name=Fluent-round
# X-KDE-PluginInfo-Version=5.78.0
# X-KDE-PluginInfo-Website=https://plasma.kde.org
# X-KDE-PluginInfo-Category=
# X-KDE-PluginInfo-License=LGPL
# X-KDE-PluginInfo-EnabledByDefault=true
# X-Plasma-API=5.0
#
# [ContrastEffect]
# enabled=true
# contrast=0.25
# intensity=1
# saturation=5
#
# [AdaptiveTransparency]
# enabled=true' > ~/.local/share/plasma/desktoptheme/Fluent-round/metadata.desktop
#
# fi



# Less transparent Fluent plasma theme if dont have 3d accel
if [ "$(glxinfo | grep llvmpipe)" = "" ]; then
rm -Rf ~/.local/share/plasma/desktoptheme/Fluent/
rm -Rf ~/.local/share/plasma/desktoptheme/Fluent-round/
#export KWIN_EFFECTS_FORCE_ANIMATIONS=1
else
# export QT_QUICK_BACKEND=software
# export QSG_RENDER_LOOP=basic
# export MESA_NO_ERROR=1
# export MESA_SHADER_CACHE_DISABLE=true
# export MESA_XSYNC=0
# export LIBGL_ALWAYS_SOFTWARE=1
# export DRI_NO_MSAA=1
# export MESA_GL_VERSION_OVERRIDE=4.4
# export MESA_GLSL_VERSION_OVERRIDE=120
#export GALLIUM_DRIVER=swrast
mkdir -p ~/.local/share/plasma/desktoptheme/Fluent
echo '[Desktop Entry]
Name=Fluent
Comment=Fluent theme for plasma
X-KDE-PluginInfo-Author=Vince Liuice
[email protected]
X-KDE-PluginInfo-Name=Fluent
X-KDE-PluginInfo-Version=5.78.0
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-License=LGPL
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=5.0
[ContrastEffect]
enabled=true
contrast=0.25
intensity=1
saturation=5
[AdaptiveTransparency]
enabled=true' > ~/.local/share/plasma/desktoptheme/Fluent/metadata.desktop

mkdir -p ~/.local/share/plasma/desktoptheme/Fluent-round

echo '[Desktop Entry]
Name=Fluent-round
Comment=Fluent theme for plasma
X-KDE-PluginInfo-Author=Vince Liuice
[email protected]
X-KDE-PluginInfo-Name=Fluent-round
X-KDE-PluginInfo-Version=5.78.0
X-KDE-PluginInfo-Website=https://plasma.kde.org
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-License=LGPL
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=5.0
[ContrastEffect]
enabled=true
contrast=0.25
intensity=1
saturation=5
[AdaptiveTransparency]
enabled=true' > ~/.local/share/plasma/desktoptheme/Fluent-round/metadata.desktop

fi


QSG_RENDER_LOOP=basic exec $STARTPLASMA
Expand Down
3 changes: 2 additions & 1 deletion usr/share/biglinux/themes/fluent/.config/kdeglobals
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ DirSelectDialog Size=850,584
History Items[$e]=

[General]
ColorSchemeHash=4c1beebf700b04b4ad0ab21e77d3a7595111d09d
ColorScheme=FluentLight
ColorSchemeHash=2823fd85d4dc3e2f05a21c28d68753f841ff70ed
Name[pt_BR]=Breeze Light
Name=Breeze Light
XftHintStyle=hintslight
Expand Down

0 comments on commit febf5c5

Please sign in to comment.