diff --git a/modules/bar/Ws.qml b/modules/bar/Ws.qml index 579ea2c..201bc6e 100644 --- a/modules/bar/Ws.qml +++ b/modules/bar/Ws.qml @@ -1,7 +1,6 @@ pragma ComponentBehavior: Bound import Quickshell import Quickshell.Hyprland -import Quickshell.Widgets import QtQuick import QtQuick.Layouts import qs @@ -33,7 +32,7 @@ Rectangle { visible: Hyprland.monitorFor(root.barScreen) === wsWrapper.modelData.monitor implicitHeight: root.moduleHeight - implicitWidth: wsName.width + implicitWidth: 12 parent: wsLayout color: 'transparent' radius: Config.rounding diff --git a/modules/corners/ScreenCorners.qml b/modules/corners/ScreenCorners.qml index 6431f63..7ab9ee5 100644 --- a/modules/corners/ScreenCorners.qml +++ b/modules/corners/ScreenCorners.qml @@ -48,7 +48,7 @@ Variants { preferredRendererType: Shape.CurveRenderer asynchronous: true enabled: false // Disable mouse input - visible: Config.rounding != 0 + visible: Config.showCorners ? true : Config.rounding == 0 ShapePath { id: cornersPath diff --git a/settings/Config.qml b/settings/Config.qml index 329982a..b1d6576 100644 --- a/settings/Config.qml +++ b/settings/Config.qml @@ -15,6 +15,7 @@ Singleton { property double opacity: 1.0 property string primaryMon: "eDP-1" property string wallDir: "file://" + Quickshell.env("HOME") + "/.walls" + property bool showCorners: true Settings { location: Qt.resolvedUrl("file:///home/lucy/.config/quickshell/settings/settings.ini") @@ -27,5 +28,6 @@ Singleton { property alias primaryMon: root.primaryMon property alias floating: root.floating property alias wallDir: root.wallDir + property alias showCorners: root.showCorners } } diff --git a/widgets/MaterialIcon.qml b/widgets/MaterialIcon.qml index fc1c72a..c648aa9 100644 --- a/widgets/MaterialIcon.qml +++ b/widgets/MaterialIcon.qml @@ -5,13 +5,12 @@ import QtQuick Text { font.family: "Material Symbols Rounded" color: Colors.text - font.pixelSize: Config.iconSize + font.pointSize: Config.iconSize - 4 property bool fill: true renderType: Text.NativeRendering font.variableAxes: { "FILL": fill ? 1 : 0, - "opsz": 48, - "wght": 400, - "GRAD": 24 + "opsz": 24, + "wght": 400 } }