Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
79f2a5c
fix(panel): update panel titles and button texts for clarity; add Rus…
PaloMiku Apr 8, 2026
5ab8ee4
feat(panel): enhance display options and localization; update version…
PaloMiku Apr 8, 2026
0075db1
feat(panel, settings, i18n): improve localization and UI elements; ad…
PaloMiku Apr 8, 2026
36f7e67
feat(panel, i18n): update sectionAudio labels for improved clarity in…
PaloMiku Apr 8, 2026
1897a33
feat(panel, i18n): add resolution filtering and toast notifications; …
PaloMiku Apr 8, 2026
63c7cf9
fix(panel): remove unused resolutionText function; update dropdown vi…
PaloMiku Apr 8, 2026
313f637
fix(panel): update _applyAllDisplays property and improve layout cons…
PaloMiku Apr 8, 2026
31fb9b1
feat(panel, settings): enhance volume and fps settings with improved …
PaloMiku Apr 8, 2026
35f5994
chore: update version to 1.1.1 in manifest.json and improve README.md…
PaloMiku Apr 8, 2026
b49130e
docs: update README.md title and description for clarity
PaloMiku Apr 8, 2026
e40b00d
feat(settings, panel): add icon color customization and update UI ele…
PaloMiku Apr 9, 2026
b713771
fix(Main.qml): remove unnecessary import of qs.Services.System
PaloMiku Apr 9, 2026
2395aa3
feat: add extra properties editor and compatibility scanning
PaloMiku Apr 10, 2026
e0dc5ca
feat(settings): add 'Do not mute when other apps play audio' option a…
PaloMiku Apr 10, 2026
ae9c7a8
feat(settings): add default clamp mode option and update related UI e…
PaloMiku Apr 10, 2026
0537736
feat(panel): add theme color property label and update compatibility …
PaloMiku Apr 10, 2026
a25c50e
fix(panel): normalize key handling and update theme color property la…
PaloMiku Apr 10, 2026
6097e7e
feat(panel): add workshop URL generation for wallpapers and improve c…
PaloMiku Apr 10, 2026
b07a3ca
feat(panel): add engine status badge with translations for various st…
PaloMiku Apr 10, 2026
13b1071
feat(panel): update engine control buttons and add start action with …
PaloMiku Apr 10, 2026
2ab0e3f
feat(panel): update start/stop actions and add translations for menu …
PaloMiku Apr 10, 2026
40bc282
fix(panel): update compatibility scan command to use bash instead of sh
PaloMiku Apr 10, 2026
7b253ce
docs(README): enhance feature descriptions and add compatibility chec…
PaloMiku Apr 10, 2026
9169988
feat(panel): replace GridView with NGridView and adjust column calcul…
PaloMiku Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions linux-wallpaperengine-controller/BarWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ NIconButton {
property int sectionWidgetsCount: 0

readonly property var mainInstance: pluginApi?.mainInstance
readonly property var cfg: pluginApi?.pluginSettings || ({})
readonly property var defaults: pluginApi?.manifest?.metadata?.defaultSettings || ({})
readonly property string iconColorKey: cfg.iconColor ?? defaults.iconColor ?? "none"
readonly property color resolvedIconColor: Color.resolveColorKey(iconColorKey)
readonly property bool hasCustomIconColor: iconColorKey !== "none"

icon: "wallpaper-selector"
tooltipDirection: BarService.getTooltipDirection(screen?.name)
Expand All @@ -25,14 +30,8 @@ NIconButton {
customRadius: Style.radiusL
colorBg: Style.capsuleColor
colorFg: {
if (!mainInstance?.engineAvailable) {
return Color.mError;
}
if (mainInstance?.isApplying) {
return Color.mPrimary;
}
if (mainInstance?.lastError && mainInstance.lastError.length > 0) {
return Color.mError;
if (root.hasCustomIconColor) {
return root.resolvedIconColor;
}
return Color.mOnSurface;
}
Expand Down Expand Up @@ -69,9 +68,9 @@ NIconButton {
"icon": "refresh"
},
{
"label": pluginApi?.tr("menu.stop"),
"action": "stop",
"icon": "player-stop"
"label": mainInstance?.engineRunning ? pluginApi?.tr("menu.stop") : pluginApi?.tr("menu.start"),
"action": mainInstance?.engineRunning ? "stop" : "start",
"icon": mainInstance?.engineRunning ? "player-stop" : "player-play"
},
{
"label": pluginApi?.tr("menu.settings"),
Expand All @@ -85,9 +84,11 @@ NIconButton {
PanelService.closeContextMenu(screen);

if (action === "reload") {
mainInstance?.reload();
mainInstance?.reload(true);
} else if (action === "stop") {
mainInstance?.stopAll();
mainInstance?.stopAll(true);
} else if (action === "start") {
mainInstance?.reload(true);
} else if (action === "settings") {
BarService.openPluginSettings(root.screen, pluginApi.manifest);
}
Expand Down
Loading