Initial commit

This commit is contained in:
kossLAN 2025-06-07 04:01:14 -04:00
commit 05cd51b54e
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
148 changed files with 10112 additions and 0 deletions

View file

@ -0,0 +1,97 @@
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: 15;
anchors {
top: parent.top;
bottom: parent.bottom;
right: parent.right;
rightMargin: 10;
}
SysTray {
id: sysTray;
bar: root;
}
Separator {
visible: sysTray.visible
}
RowLayout {
spacing: 5;
BatteryIndicator {
id: batteryIndicator
}
Control.Control {
bar: root;
}
}
Separator {}
Clock {
id: clock;
color: ShellGlobals.colors.text;
}
}
}