Removed useless subdirectory, changed to dolphin
This commit is contained in:
parent
2e2d683c62
commit
f20db908ca
10 changed files with 4 additions and 4 deletions
50
quickshell/modules/MangoWs.qml
Normal file
50
quickshell/modules/MangoWs.qml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.WindowManager
|
||||
import qs
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
color: Appearance.colAppBg
|
||||
RowLayout {
|
||||
id: wsNumLayout
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
Repeater {
|
||||
id: wsNumRepeater
|
||||
model: WindowManager.windowsets
|
||||
Rectangle {
|
||||
required property var modelData
|
||||
function isOverview() {
|
||||
if (modelData.name == "overview") {
|
||||
return 85 + Appearance.appletRadHeight;
|
||||
}
|
||||
else {
|
||||
return Appearance.appletRadHeight;
|
||||
}
|
||||
}
|
||||
id: wsNum
|
||||
implicitWidth: isOverview()
|
||||
implicitHeight: Appearance.appletRadHeight
|
||||
color: Appearance.colAppBg
|
||||
radius: Appearance.appletRadHeight
|
||||
visible: modelData.shouldDisplay
|
||||
Text {
|
||||
id: wsText
|
||||
anchors.centerIn: parent
|
||||
text: modelData.name
|
||||
color: Appearance.colFg
|
||||
opacity: modelData.active ? 1 : 0.3
|
||||
font {
|
||||
family: Appearance.font
|
||||
pixelSize: Appearance.fontSize
|
||||
bold: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue