0
trickyni trickyniv56@gmail.com
Wed, 17 Dec 2025 17:40:52 +0200
8 files changed,
46 insertions(+),
5 deletions(-)
M
Resources.qml
→
Resources.qml
@@ -36,9 +36,9 @@
} property var barsize: { - "topbar": 18*Size.scale, + "topbar": 18*Size.scale, "topbar_twister": 15*Size.scale, - "bottombar": 12*Size.scale, + "bottombar": 12*Size.scale, //on twister, to maintain optimal aspect ratio for terminal at fontsize 16, with 1.5 monitor scaling, bars should have a combined 10px,27px, or 45px height //on irregularnotes, combined height should be 25px or 42px }
M
bar/Bar.qml
→
bar/Bar.qml
@@ -27,6 +27,7 @@ BottomBar {
BottombarRight { Module.Battery{} } + Module.Music{} BottombarLeft{ Module.Network{} }
A
bar/Debug.qml
@@ -0,0 +1,15 @@
+// Bar.qml +import Quickshell +import QtQuick +import QtQuick.Layouts +import ".." +import "modules" as Module +import "classes" as Class + +Scope { + DebugWindow{ + Module.Music{} + } +} + +
A
bar/DebugWindow.qml
@@ -0,0 +1,24 @@
+// TopBar.qml +import Quickshell +import QtQuick +import QtQuick.Layouts +import ".." +import Quickshell.I3 +PanelWindow { + id: debug_window + anchors { + // top: true + left: true + right: true + bottom:true + } + // margins { + // left: 8 + // right:8 + // top: 0 + // bottom: 0 + // } + implicitHeight:100 + width: parent + color: Resources.palette.bg25 +}
M
bar/TopBar.qml
→
bar/TopBar.qml
@@ -17,7 +17,7 @@ right:8
top: 0 bottom: 0 } - height: (I3.focusedMonitor.name == "eDP-1") + implicitHeight: (I3.focusedMonitor.name == "eDP-1") ? Resources.barsize.topbar_twister : Resources.barsize.topbar
M
bar/modules/Scale.qml
→
bar/modules/Scale.qml
@@ -8,7 +8,7 @@ import "../classes" as Class
RowLayout { spacing: 4 - anchors.centerIn: parent + anchors.centerIn: parent Class.TopbarIcon { text: (Size.scale == 1.5) ? Icons.modules.size : ""
M
bar/modules/Workspaces.qml
→
bar/modules/Workspaces.qml
@@ -52,7 +52,7 @@ }
Class.TopbarText { horizontalAlignment: rect.AlignHCenter - verticalAlignment: rect.AlignVCenter + // verticalAlignment: rect.AlignVCenter anchors.centerIn:parent text: ws_special ? ""