forked from Shinonome/dots-hyprland
make screen corner configurable
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user