Watch
1
0
Fork
You've already forked Zoe-Dotfiles
0
mirror of synced 2026-11-04 17:37:17 +00:00

Switched to Codeberg

This commit is contained in:
MysteryBirb 2026-08-29 21:21:08 +02:00
commit a611bcdf15
29 changed files with 2302 additions and 0 deletions

View 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
}
}
}
}
}
}