1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

greeter+lock: remove random facts

fixes #1475
This commit is contained in:
bbedward
2026-01-23 13:25:42 -05:00
parent 972fc534a4
commit 3a41f2f1ed
4 changed files with 2 additions and 101 deletions

View File

@@ -23,7 +23,6 @@ Item {
readonly property string xdgDataDirs: Quickshell.env("XDG_DATA_DIRS")
property string screenName: ""
property string randomFact: ""
property string hyprlandCurrentLayout: ""
property string hyprlandKeyboard: ""
property int hyprlandLayoutCount: 0
@@ -31,10 +30,6 @@ Item {
signal launchRequested
function pickRandomFact() {
randomFact = Facts.getRandomFact();
}
property bool weatherInitialized: false
function initWeatherService() {
@@ -58,7 +53,6 @@ Item {
}
Component.onCompleted: {
pickRandomFact();
initWeatherService();
if (isPrimaryScreen)
@@ -961,20 +955,6 @@ Item {
}
}
StyledText {
anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
anchors.margins: Theme.spacingL
width: Math.min(parent.width - Theme.spacingXL * 2, implicitWidth)
text: root.randomFact
font.pixelSize: Theme.fontSizeSmall
color: "white"
opacity: 0.8
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.NoWrap
visible: root.randomFact !== ""
}
DankActionButton {
anchors.bottom: parent.bottom
anchors.left: parent.left