From 6365d0d68524121fe636ef002615cbec78271416 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Sun, 5 May 2024 01:12:17 +0500 Subject: [PATCH] Update --- README.md | 2 -- .../contents/layout.js | 30 +++++++++++-------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index d684715..9791837 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,4 @@ KDE, GTK theme for Melawy Linux [YooMoney](https://yoomoney.ru/to/4100115921160758) -[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) - Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js index e05d8ea..5ba399a 100644 --- a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js +++ b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js @@ -118,9 +118,9 @@ start_menu.popupHeight = 720; start_menu.popupWidth =1000; start_menu.currentConfigGroup = ["General"] -start_menu.writeConfig("favoritesPortedToKAstats", true); +start_menu.writeConfig("favoritesPortedToKAstats", "true"); start_menu.writeConfig("icon", "/usr/share/plasma/desktoptheme/Melawy-round-gray/icons/start.svg"); -start_menu.writeConfig("showActionButtonCaptions", false); +start_menu.writeConfig("showActionButtonCaptions", "false"); //start_menu.writeConfig("systemFavorites", "suspend\\,hibernate\\,reboot\\,shutdown"); //start_menu.writeConfig("systemFavorites", "shutdown"); @@ -129,22 +129,22 @@ start_menu.writeConfig("systemFavorites", ""); start_menu.writeConfig("favorites", `${applications}`); start_menu.writeConfig("appDescription", "hidden"); start_menu.writeConfig("appListWidth", "400"); -start_menu.writeConfig("compactMode", true); +start_menu.writeConfig("compactMode", "true"); start_menu.writeConfig("defaultAppListView", "TilesOnly"); start_menu.writeConfig("defaultTileColor", "#e4606060"); -start_menu.writeConfig("defaultTileGradient", true); +start_menu.writeConfig("defaultTileGradient", "true"); start_menu.writeConfig("favGridCols", "7"); -start_menu.writeConfig("floating", true); -start_menu.writeConfig("fullscreen", true); +start_menu.writeConfig("floating", "true"); +start_menu.writeConfig("fullscreen", "true"); start_menu.writeConfig("groupLabelAlignment", "center"); start_menu.writeConfig("menuItemHeight", "24"); start_menu.writeConfig("numRecentApps", "10"); start_menu.writeConfig("popupHeight", "700"); -start_menu.writeConfig("searchFieldFollowsTheme", true); +start_menu.writeConfig("searchFieldFollowsTheme", "true"); start_menu.writeConfig("searchFieldHeight", "36"); -start_menu.writeConfig("searchResultsMerged", false); +start_menu.writeConfig("searchResultsMerged", "false"); start_menu.writeConfig("sidebarButtonSize", "36"); -start_menu.writeConfig("sidebarFollowsTheme", true); +start_menu.writeConfig("sidebarFollowsTheme", "true"); start_menu.writeConfig("sidebarIconSize", "24"); start_menu.writeConfig("tileLabelAlignment", "center"); start_menu.reloadConfig(); @@ -230,21 +230,25 @@ PlacesPanel.writeEntry('IconSize', 16); panel_clock = panel.addWidget("org.kde.plasma.digitalclock"); panel_clock.currentConfigGroup = ["Appearance"]; panel_clock.writeConfig("fontSize", "12"); -panel_clock.writeConfig("autoFontAndSize", true); -panel_clock.writeConfig("showSeconds", true); +panel_clock.writeConfig("autoFontAndSize", "true"); +panel_clock.writeConfig("showSeconds", "true"); /*Notification*/ panel.addWidget("org.kde.plasma.notifications"); /*Hide all windows*/ -panel.addWidget("org.kde.plasma.showdesktop"); +// panel.addWidget("org.kde.plasma.showdesktop"); +win7showdesktop = panel.addWidget("org.kde.plasma.win7showdesktop"); +win7showdesktop.currentConfigGroup = ["General"]; +win7showdesktop.writeConfig("edgeColor", "#66888888"); +win7showdesktop.writeConfig("size", "5"); /* accent color config*/ ColorAccetFile = ConfigFile("kdeglobals"); ColorAccetFile.group = "General"; ColorAccetFile.deleteEntry("AccentColor"); ColorAccetFile.deleteEntry("LastUsedCustomAccentColor"); -ColorAccetFile.writeEntry("accentColorFromWallpaper", true); +ColorAccetFile.writeEntry("accentColorFromWallpaper", "true"); /*Buttons of aurorae*/ Buttons = ConfigFile("kwinrc");