forked from Shinonome/dots-hyprland
fix: hide cookie quote on digital (am i blind or smthn?)
This commit is contained in:
@@ -24,7 +24,7 @@ Variants {
|
|||||||
readonly property real clockSizePadding: 20
|
readonly property real clockSizePadding: 20
|
||||||
readonly property real screenSizePadding: 50
|
readonly property real screenSizePadding: 50
|
||||||
readonly property string clockStyle: Config.options.background.clock.style
|
readonly property string clockStyle: Config.options.background.clock.style
|
||||||
readonly property bool showQuote: Config.options.background.showQuote && Config.options.background.quote !== "" && !GlobalStates.screenLocked
|
readonly property bool showCookieQuote: Config.options.background.showQuote && Config.options.background.quote !== "" && !GlobalStates.screenLocked && Config.options.background.clock.style === "cookie"
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
@@ -343,7 +343,7 @@ Variants {
|
|||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: cookieQuoteLoader
|
id: cookieQuoteLoader
|
||||||
visible: root.showQuote
|
visible: root.showCookieQuote
|
||||||
active: visible
|
active: visible
|
||||||
sourceComponent: CookieQuote {}
|
sourceComponent: CookieQuote {}
|
||||||
anchors.horizontalCenter: cookieClockLoader.horizontalCenter
|
anchors.horizontalCenter: cookieClockLoader.horizontalCenter
|
||||||
|
|||||||
Reference in New Issue
Block a user