bar: allow any custom icon on topleft corner

This commit is contained in:
end-4
2025-08-12 18:26:47 +07:00
parent 87ebc8761b
commit bf4a1097c1
2 changed files with 2 additions and 2 deletions
@@ -147,7 +147,7 @@ Item { // Bar content region
anchors.centerIn: parent
width: 19.5
height: 19.5
source: Config.options.bar.topLeftIcon == 'distro' ? SystemInfo.distroIcon : "spark-symbolic"
source: Config.options.bar.topLeftIcon == 'distro' ? SystemInfo.distroIcon : `${Config.options.bar.topLeftIcon}-symbolic`
colorize: true
color: Appearance.colors.colOnLayer0
}
@@ -140,7 +140,7 @@ Singleton {
property bool bottom: false // Instead of top
property int cornerStyle: 0 // 0: Hug | 1: Float | 2: Plain rectangle
property bool borderless: false // true for no grouping of items
property string topLeftIcon: "spark" // Options: distro, spark
property string topLeftIcon: "spark" // Options: "distro" or any icon name in ~/.config/quickshell/ii/assets/icons
property bool showBackground: true
property bool verbose: true
property JsonObject resources: JsonObject {