Krolyxon
Commit a8f0e9d

Branches

Refs →

auroraa8f0e9d

aurora: dock the bar at the top again (same nothing style, no floating pill)

Author
krolyxon
Date
2026-10-28 20:31 +0530
Parent
2358cd9
Commit
a8f0e9df0b953256b3c150cce3a270cfe69b92cb

+13 −14

3 files changed

  1. M .config/quickshell/aurora/Bar.qml +10 −10
  2. M .config/quickshell/aurora/Settings.qml +1 −1
  3. M .config/quickshell/aurora/Theme.qml +2 −3
M .config/quickshell/aurora/Bar.qml View
@@ -6,7 +6,7 @@ import Quickshell.Hyprland
66 import Quickshell.Services.Pipewire
77 import Quickshell.Services.UPower
88
9−// The bar: a floating pill at the top of every monitor.
9+// The bar: a strip docked at the top of every monitor.
1010 // Left: the mark (a dotted ring: click = runner; its centre turns the live colour while something records or listens,
1111 // the ring lights up in a wave on a new notification), this monitor's workspaces as dots, the cat.
1212 // Centre: the active window (focused monitor only). Right: tray, recording, privacy, caffeine/airplane, headset,
@@ -20,9 +20,8 @@ PanelWindow {
2020 signal toggleOverlay(string name, var scr)
2121
2222 anchors { top: true; left: true; right: true }
23− implicitHeight: Theme.barHeight // the pill + the gap above it; also the exclusive zone
23+ implicitHeight: Theme.barHeight
2424 color: "transparent"
25− mask: Region { item: pill }
2625 WlrLayershell.namespace: "aurora-bar"
2726
2827 SystemClock { id: clock; precision: SystemClock.Minutes }
@@ -79,14 +78,15 @@ PanelWindow {
7978
8079 Rectangle {
8180 id: pill
82− x: Theme.barGap
83− y: Theme.barGap
84− width: parent.width - 2 * Theme.barGap
85− height: Theme.barSize
86− radius: height / 2
81+ anchors.fill: parent
8782 color: Qt.rgba(Theme.s1.r, Theme.s1.g, Theme.s1.b, Theme.barAlpha)
88− border.width: 1
89− border.color: Theme.s2
83+ Rectangle { // hairline along the bottom
84+ anchors.left: parent.left
85+ anchors.right: parent.right
86+ anchors.bottom: parent.bottom
87+ height: 1
88+ color: Theme.s2
89+ }
9090
9191 // ---------------- left ----------------
9292 Row {
M .config/quickshell/aurora/Settings.qml View
@@ -121,7 +121,7 @@ Singleton {
121121 property bool motion: true // shell animations (Theme.t)
122122 property bool clock24: true
123123 property string appIcons: "dots" // dots | mono | colour: how app icons are drawn
124− property int barSize: 40 // height of the bar pill (Doto clock from 40 up)
124+ property int barSize: 40 // height of the bar (Doto clock from 40 up)
125125 property string wallLook: "dots" // dots | colour | photo: how aurora draws the wallpaper (WallView)
126126 property int wallPitch: 10 // dot step, px
127127 property int wallBright: 85 // %, from the background to the full image
M .config/quickshell/aurora/Theme.qml View
@@ -19,9 +19,8 @@ Singleton {
1919 readonly property int fontSize: Settings.fontSize
2020 readonly property int wsFontSize: Settings.wsFontSize // workspace icons only; everything else uses fontSize
2121 readonly property real panelAlpha: Settings.panelAlpha
22− readonly property int barSize: Math.max(32, Settings.barSize) // the bar pill
23− readonly property int barGap: 6 // pill to the screen edge
24− readonly property int barHeight: barSize + barGap // what the bar reserves at the top
22+ readonly property int barSize: Math.max(32, Settings.barSize) // the bar's height (docked at the top)
23+ readonly property int barHeight: barSize // what the bar reserves at the top
2524 readonly property real barAlpha: Settings.barAlpha
2625
2726 // ---- motion: ease-out-quart without overshoot (glyph's "glide"); Settings.motion off = instant ----