forked from Shinonome/dots-hyprland
make screen corner configurable
This commit is contained in:
@@ -3,6 +3,10 @@ import Quickshell
|
|||||||
pragma Singleton
|
pragma Singleton
|
||||||
|
|
||||||
Singleton {
|
Singleton {
|
||||||
|
property QtObject appearance: QtObject {
|
||||||
|
property int fakeScreenRounding: 1 // 0: None | 1: Always | 2: When not fullscreen
|
||||||
|
}
|
||||||
|
|
||||||
property QtObject bar: QtObject {
|
property QtObject bar: QtObject {
|
||||||
property int workspacesShown: 10
|
property int workspacesShown: 10
|
||||||
property int batteryLowThreshold: 20
|
property int batteryLowThreshold: 20
|
||||||
@@ -11,6 +15,7 @@ Singleton {
|
|||||||
property bool alwaysShowCpu: false
|
property bool alwaysShowCpu: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
property QtObject resources: QtObject {
|
property QtObject resources: QtObject {
|
||||||
property int updateInterval: 3000
|
property int updateInterval: 3000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Scope {
|
|||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: barRoot
|
id: barRoot
|
||||||
visible: !activeWindow?.fullscreen
|
visible: (ConfigOptions.appearance.fakeScreenRounding === 1 || (ConfigOptions.appearance.fakeScreenRounding === 2 && !activeWindow?.fullscreen))
|
||||||
|
|
||||||
property var modelData
|
property var modelData
|
||||||
|
|
||||||
@@ -25,6 +25,7 @@ Scope {
|
|||||||
item: null
|
item: null
|
||||||
}
|
}
|
||||||
WlrLayershell.namespace: "quickshell:screenCorners"
|
WlrLayershell.namespace: "quickshell:screenCorners"
|
||||||
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
|||||||
Reference in New Issue
Block a user