feat(dock): add setting to use distro logo as launcher icon

This commit is contained in:
tibssy
2026-03-16 03:37:23 +00:00
parent 1b2ec2e4a2
commit 53119a1933
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -1141,6 +1141,8 @@
"appearance-launcher-position-end": "End",
"appearance-launcher-position-label": "Launcher position",
"appearance-launcher-position-start": "Start",
"appearance-launcher-use-distro-logo-description": "Use your distribution logo as the dock launcher icon.",
"appearance-launcher-use-distro-logo-label": "Use distro logo instead of icon",
"appearance-pinned-static-description": "Always push pinned app icons to the left in static order.",
"appearance-pinned-static-label": "Static pinned apps",
"appearance-position-description": "Choose where the dock appears on screen.",
+1
View File
@@ -361,6 +361,7 @@
"colorizeIcons": false,
"showLauncherIcon": false,
"launcherPosition": "end",
"launcherUseDistroLogo": false,
"launcherIconColor": "none",
"pinnedStatic": false,
"inactiveIndicators": false,
+1
View File
@@ -555,6 +555,7 @@ Singleton {
property bool colorizeIcons: false
property bool showLauncherIcon: false
property string launcherPosition: "end" // "start", "end"
property bool launcherUseDistroLogo: false
property string launcherIconColor: "none"
property bool pinnedStatic: false
property bool inactiveIndicators: false
@@ -350,6 +350,16 @@ ColumnLayout {
onSelected: key => Settings.data.dock.launcherPosition = key
}
NToggle {
Layout.fillWidth: true
visible: Settings.data.dock.showLauncherIcon
label: I18n.tr("panels.dock.appearance-launcher-use-distro-logo-label")
description: I18n.tr("panels.dock.appearance-launcher-use-distro-logo-description")
checked: Settings.data.dock.launcherUseDistroLogo
defaultValue: Settings.getDefaultValue("dock.launcherUseDistroLogo")
onToggled: checked => Settings.data.dock.launcherUseDistroLogo = checked
}
NColorChoice {
Layout.fillWidth: true
visible: Settings.data.dock.showLauncherIcon