hardcoded icons on scaled, find better solution later

This commit is contained in:
Zacharias-Brohn
2025-11-14 23:10:13 +01:00
parent 52a382b0ad
commit 72e12d2078
7 changed files with 72 additions and 31 deletions
+6 -6
View File
@@ -1,12 +1,7 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Quickshell
import Quickshell.Widgets
import Quickshell.Io
import Quickshell.Wayland
import Qt5Compat.GraphicalEffects
import Quickshell.Hyprland
import qs.Modules
import qs.Config
@@ -21,6 +16,10 @@ Scope {
screen: modelData
property var root: Quickshell.shellDir
Component.onCompleted: {
console.log(modelData.x);
}
Process {
id: ncProcess
command: ["sh", "-c", `qs -p ${bar.root}/shell.qml ipc call root showCenter`]
@@ -50,13 +49,14 @@ Scope {
RowLayout {
id: leftSection
Layout.fillHeight: true
Layout.preferredWidth: 100
Layout.preferredWidth: leftSection.childrenRect.width
Workspaces {
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.fillHeight: true
Layout.topMargin: 6
Layout.bottomMargin: 6
bar: bar
}
AudioWidget {