0
trickyni trickyniv56@gmail.com
Fri, 26 Sep 2025 21:36:57 +0300
7 files changed,
16 insertions(+),
12 deletions(-)
M
bar/Bar.qml
→
bar/Bar.qml
@@ -17,10 +17,10 @@ Module.Moonphase {}
Module.Ram {} Module.Taskwarrior {} } + //topbar middle + Module.Scale{} TopbarLeft { Module.Workspaces {} - Module.Scale{} - } } BottomBar {
M
bar/TopBar.qml
→
bar/TopBar.qml
@@ -18,5 +18,6 @@ top: 0
bottom: 0 } height: Resources.barsize.topbar + // height: 100 color: Resources.palette.bg }
M
bar/modules/Network.qml
→
bar/modules/Network.qml
@@ -32,7 +32,7 @@ }
Class.TopbarIcon { id: indicator property var indicator_data - font.pixelSize: 9 + font.pixelSize: 9*Size.scale text: (indicator_data = 100) ? Icons.network.ethernet : (indicator_data = 404) ? Icons.network.nobar
M
bar/modules/Scale.qml
→
bar/modules/Scale.qml
@@ -7,10 +7,13 @@ import "../.."
import "../classes" as Class RowLayout { - spacing: 2 + spacing: 4 + anchors.centerIn: parent + Class.TopbarIcon { text: (Size.scale == 1.5) ? Icons.modules.size : "" font.family: font_icon.name anchors.centerIn: parent + leftPadding: 4 } }
M
bar/modules/Workspaces.qml
→
bar/modules/Workspaces.qml
@@ -8,8 +8,7 @@ import "../classes" as Class
import "../../" RowLayout { - spacing: 0 - Layout.maximumHeight:24 + spacing: 2*(Size.scale*2.5) id: workspaces property var ws_focused: I3.focusedWorkspace?.number Repeater {@@ -21,11 +20,11 @@ id: ws_button
hoverEnabled: true anchors.fill: parent cursorShape: Qt.PointingHandCursor - onClicked: I3.dispatch(`workspace number `+modelData.number); + onClicked: I3.dispatch(`workspace number `+ modelData.number); } background: Rectangle { - width:16 - height: 24 + width: Resources.barsize.topbar + height: Resources.barsize.topbar anchors.centerIn: parent color: (modelData.name == ws_focused)@@ -37,6 +36,7 @@ }
contentItem: Text { id: wsLabel property var ws_special: (modelData.number > 10) + anchors.centerIn: parent horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter text: ({@@ -44,7 +44,6 @@ "10": Icons.workspaces.writing,
"11": Icons.workspaces.download, "12": Icons.workspaces.volume_mixer }) [modelData.name] ?? modelData.name - padding: 0 color: (modelData.name == ws_focused) ? Resources.palette.bg