mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
Fix: missing system logo and app icons on Guix System (#616)
* Fix for Guix logo not being shown * Fixed icons not being shown in Workspace Switcher. Also added a DesktopService with a function to get the icon path * Fixed some icons not being shown + Icons in app drawer * Fixed icons not appearing in Spotlight * Adapted missing icons in app launcher/spotlight * Removed (now) useless change
This commit is contained in:
committed by
GitHub
parent
69accb5319
commit
946a28d3be
@@ -3,6 +3,7 @@ import QtQuick.Controls
|
||||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
|
||||
Item {
|
||||
id: root
|
||||
@@ -26,7 +27,7 @@ Item {
|
||||
readonly property bool isUnicode: iconValue.startsWith("unicode:")
|
||||
readonly property string materialName: isMaterial ? iconValue.substring(9) : ""
|
||||
readonly property string unicodeChar: isUnicode ? iconValue.substring(8) : ""
|
||||
readonly property string iconPath: isMaterial || isUnicode ? "" : Quickshell.iconPath(iconValue, true)
|
||||
readonly property string iconPath: isMaterial || isUnicode ? "" : Quickshell.iconPath(iconValue, true) || DesktopService.resolveIconPath(iconValue)
|
||||
|
||||
visible: iconValue !== undefined && iconValue !== ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user