Skip to content

Commit

Permalink
new layout vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
BarnabediKartola committed Nov 20, 2022
1 parent bfb3ca4 commit 3787775
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 11 deletions.
8 changes: 6 additions & 2 deletions usr/bin/biglinux-themes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,12 @@ case "$1" in

# Clean icon theme and apply again to fix kwin buttons
kwriteconfig5 --group Icons --key Theme ""
/usr/lib/plasma-changeicons $(kreadconfig5 --group Icons --key Theme --file "$folder/$2/.config/kdeglobals")

if [ "$(cat "$HOME/.kdebiglinux/lastused")" = "vanilla" ]; then
/usr/lib/plasma-changeicons breeze
else
/usr/lib/plasma-changeicons $(kreadconfig5 --group Icons --key Theme --file "$folder/$2/.config/kdeglobals")
fi

# kdialog --msgbox "Icone: $(kreadconfig5 --group Icons --key Theme --file "$folder/$2/.config/kdeglobals")
# GTK: $(grep 'gtk-theme-name=' "$HOME/.config/gtk-3.0/settings.ini" | cut -f2-5 -d=)"

Expand Down
4 changes: 4 additions & 0 deletions usr/bin/change-plasma-theme
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ if [ "$2" = "classic" ]; then
sed -i "s|url=file:///usr/share/applications/brave-browser.desktop|url=file:///usr/share/applications/$DEFAULTWEB|" ~/.config/plasma-org.kde.plasma.desktop-appletsrc
fi

if [ "$2" = "vanilla" ]; then
kwriteconfig5 --file ~/.config/kdeglobals --group Icons --key "Theme" "breeze"
fi


if [ "$3" = "quiet" ] || [ "$4" = "quiet" ]; then
echo "No start services"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ systemFavorites=suspend\\,hibernate\\,reboot\\,shutdown
[Containments][2][Applets][3][Configuration][Shortcuts]
global=Alt+F1

[Containments][2][Applets][4]
immutability=1
plugin=org.kde.plasma.pager

[Containments][2][Applets][5]
immutability=1
plugin=org.kde.plasma.icontasks
Expand All @@ -82,7 +78,7 @@ PreloadWeight=55
SystrayContainmentId=8

[Containments][2][General]
AppletOrder=3;4;5;6;7;23;24
AppletOrder=3;5;6;7;23;24

[Containments][8]
activityId=
Expand Down
5 changes: 1 addition & 4 deletions usr/share/biglinux/kdebiglinux/vanilla/plasmarc
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[Theme]
name=Fluent-round

[Wallpapers]
usersWallpapers=
name=Breeze
27 changes: 27 additions & 0 deletions usr/share/biglinux/kdebiglinux/vanilla/plasmashellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[PlasmaRunnerManager]
LaunchCounts=5 services_org.kde.konsole.desktop,1 services_org.kde.kfind.desktop
pluginWhiteList=services,desktopsessions,PowerDevil,shell,bookmarks,baloosearch,locations

[PlasmaTransientsConfig]
PreloadWeight=42

[PlasmaViews][Panel 2][Defaults]
thickness=42

[PlasmaViews][Panel 3][Defaults]
thickness=42

[PlasmaViews][Panel 4][Defaults]
thickness=42

[PlasmaViews][Panel 5][Defaults]
thickness=42

[PlasmaViews][Panel 6][Defaults]
thickness=42

[PlasmaViews][Panel 7][Defaults]
thickness=42

[PlasmaViews][Panel 8][Defaults]
thickness=42
9 changes: 9 additions & 0 deletions usr/share/biglinux/multi-kde/vanilla
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

#resolucao horizontal
resolucao_horizontal="$(LANG=C xdpyinfo | grep 'dimensions:' | sed 's|.*dimensions: *||g;s|x.*||g')"

if [ "$(grep "$resolucao_horizontal" ~/.config/plasmashellrc)" = "" ]; then
echo "[PlasmaViews][Panel 2][Horizontal$resolucao_horizontal]
thickness=44" >> ~/.config/plasmashellrc
fi

0 comments on commit 3787775

Please sign in to comment.