mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
Initial commit
This commit is contained in:
commit
05cd51b54e
148 changed files with 10112 additions and 0 deletions
93
.stversions/bar/Bar~20250509-203449.qml
Normal file
93
.stversions/bar/Bar~20250509-203449.qml
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import "mpris" as Mpris
|
||||
import "volume" as Volume
|
||||
import "../widgets" as Widgets
|
||||
import ".."
|
||||
|
||||
PanelWindow {
|
||||
id: root
|
||||
color: ShellGlobals.colors.base
|
||||
height: 25
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
/// Widgets - Everything here is sorted where it appears on the bar.
|
||||
|
||||
// Left
|
||||
RowLayout {
|
||||
spacing: 15
|
||||
|
||||
anchors {
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
bottom: parent.bottom
|
||||
leftMargin: 10
|
||||
}
|
||||
|
||||
// Whatever is available will display
|
||||
HyprWorkspaces {}
|
||||
SwayWorkspaces {}
|
||||
|
||||
Widgets.Separator {
|
||||
visible: activeWindow.visible
|
||||
}
|
||||
|
||||
ActiveWindow {
|
||||
id: activeWindow
|
||||
Layout.preferredWidth: 250
|
||||
}
|
||||
}
|
||||
|
||||
// Middle
|
||||
Mpris.Status {
|
||||
id: mprisStatus
|
||||
bar: root
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
||||
// Right
|
||||
RowLayout {
|
||||
spacing: 15
|
||||
|
||||
anchors {
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
right: parent.right
|
||||
rightMargin: 10
|
||||
}
|
||||
|
||||
SysTray {
|
||||
id: sysTray
|
||||
bar: root
|
||||
}
|
||||
|
||||
Widgets.Separator {
|
||||
visible: sysTray.visible
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: 5
|
||||
|
||||
BatteryIndicator {
|
||||
id: batteryIndicator
|
||||
}
|
||||
|
||||
Volume.Button {
|
||||
bar: root
|
||||
}
|
||||
}
|
||||
|
||||
Widgets.Separator {}
|
||||
|
||||
Clock {
|
||||
id: clock
|
||||
color: ShellGlobals.colors.text
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue