make screen corner configurable

This commit is contained in:
end-4
2025-04-13 16:42:55 +02:00
parent 28bd79234d
commit 248ff831ab
2 changed files with 7 additions and 1 deletions
@@ -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
}
@@ -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 {