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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user