Files
Olympus/home-manager/users/nathan/dotfiles/quickshell/shell.qml
2025-11-08 12:24:02 -06:00

79 lines
1.4 KiB
QML

//@ pragma Env QS_NO_RELOAD_POPUP=1
//@ pragma Env QSG_RENDER_LOOP=threaded
//@ pragma Env QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000
import Quickshell // for PanelWindow
import QtQuick // for Text
import QtQuick.Controls
import QtQuick.Layouts
import Quickshell.Io
import Quickshell.Widgets
import Quickshell.Wayland
import qs.modules
ShellRoot {
PanelWindow {
anchors {
top: true
//left: true
//right: true
}
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Background
color: "#a0706050"
implicitHeight: 40
implicitWidth: 1900
Flow {
x: 0
padding: 5
spacing: 10
Launcher { id: l }
Workspaces { id: ws }
}
RowLayout {
x: (parent.width - cl.width) / 2 + parent.x - cl.x
y: parent.y + (parent.height - height) / 2
spacing: 10
Volume { id: v }
Battery { id: bat }
Clock { id: cl }
Wifi { id: wifi }
Bluetooth { id: bt }
}
Flow {
x: parent.width + parent.x - width
padding: 5
spacing: 10
Layout.alignment: Qt.AlignRight
Media { id: media }
Tray { id: tray }
Notifications { id: notif }
Power { id: power }
}
}
}