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
94
.stversions/bar/Bar~20250107-010815.qml
Normal file
94
.stversions/bar/Bar~20250107-010815.qml
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import "mpris" as Mpris
|
||||
import "notifications" as Notifications
|
||||
import "control" as Control
|
||||
import ".."
|
||||
|
||||
PanelWindow {
|
||||
id: root;
|
||||
color: ShellGlobals.colors.window;
|
||||
height: 25
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
// Notifications
|
||||
Notifications.Notifications {
|
||||
bar: root;
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
Workspaces {}
|
||||
|
||||
Separator {
|
||||
visible: activeWindow.visible;
|
||||
}
|
||||
|
||||
ActiveWindow {
|
||||
id: activeWindow;
|
||||
Layout.preferredWidth: 250;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Middle
|
||||
|
||||
Mpris.MediaInfo {
|
||||
id: mediaInfo;
|
||||
bar: root;
|
||||
anchors.centerIn: parent;
|
||||
}
|
||||
|
||||
// Right
|
||||
RowLayout {
|
||||
spacing: 20;
|
||||
|
||||
anchors {
|
||||
top: parent.top;
|
||||
bottom: parent.bottom;
|
||||
right: parent.right;
|
||||
rightMargin: 10;
|
||||
}
|
||||
|
||||
SysTray {
|
||||
id: sysTray;
|
||||
bar: root;
|
||||
}
|
||||
|
||||
Separator {
|
||||
visible: sysTray.visible
|
||||
}
|
||||
|
||||
BatteryIndicator {
|
||||
id: batteryIndicator
|
||||
}
|
||||
|
||||
Control.Control {
|
||||
bar: root;
|
||||
}
|
||||
|
||||
Separator {}
|
||||
|
||||
Clock {
|
||||
id: clock;
|
||||
color: ShellGlobals.colors.text;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue