diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index d86fb96a8..93fa413a9 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -3,6 +3,10 @@ import Quickshell pragma Singleton Singleton { + property QtObject appearance: QtObject { + property int fakeScreenRounding: 1 // 0: None | 1: Always | 2: When not fullscreen + } + property QtObject bar: QtObject { property int workspacesShown: 10 property int batteryLowThreshold: 20 @@ -11,6 +15,7 @@ Singleton { property bool alwaysShowCpu: false } } + property QtObject resources: QtObject { property int updateInterval: 3000 } diff --git a/.config/quickshell/modules/screenCorners/ScreenCorners.qml b/.config/quickshell/modules/screenCorners/ScreenCorners.qml index 49b2560ef..95764848a 100644 --- a/.config/quickshell/modules/screenCorners/ScreenCorners.qml +++ b/.config/quickshell/modules/screenCorners/ScreenCorners.qml @@ -15,7 +15,7 @@ Scope { PanelWindow { id: barRoot - visible: !activeWindow?.fullscreen + visible: (ConfigOptions.appearance.fakeScreenRounding === 1 || (ConfigOptions.appearance.fakeScreenRounding === 2 && !activeWindow?.fullscreen)) property var modelData @@ -25,6 +25,7 @@ Scope { item: null } WlrLayershell.namespace: "quickshell:screenCorners" + WlrLayershell.layer: WlrLayer.Overlay color: "transparent" anchors {