1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

dankdash: show mangowc/sway when on one

This commit is contained in:
bbedward
2025-10-30 22:07:19 -04:00
parent 43427461f5
commit 3c20e9e203

View File

@@ -58,6 +58,9 @@ Card {
text: { text: {
if (CompositorService.isNiri) return "on niri" if (CompositorService.isNiri) return "on niri"
if (CompositorService.isHyprland) return "on Hyprland" if (CompositorService.isHyprland) return "on Hyprland"
// technically they might not be on mangowc, but its what we support in the docs
if (CompositorService.isDwl) return "on MangoWC"
if (CompositorService.isSway) return "on Sway"
return "" return ""
} }
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall