mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Small change in LockScreen
This commit is contained in:
@@ -48,6 +48,8 @@ Loader {
|
||||
property string password: ""
|
||||
property bool pamAvailable: typeof PamContext !== "undefined"
|
||||
|
||||
|
||||
|
||||
function unlockAttempt() {
|
||||
Logger.log("LockScreen", "Unlock attempt started")
|
||||
|
||||
@@ -626,7 +628,7 @@ Loader {
|
||||
spacing: Style.marginM * scaling
|
||||
|
||||
NText {
|
||||
text: "root@noctalia:~$"
|
||||
text: Quickshell.env("USER") + "@noctalia:~$"
|
||||
color: Color.mPrimary
|
||||
font.family: Settings.data.ui.fontFixed
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
@@ -664,7 +666,7 @@ Loader {
|
||||
spacing: Style.marginM * scaling
|
||||
|
||||
NText {
|
||||
text: "root@noctalia:~$"
|
||||
text: Quickshell.env("USER") + "@noctalia:~$"
|
||||
color: Color.mPrimary
|
||||
font.family: Settings.data.ui.fontFixed
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
|
||||
@@ -19,7 +19,7 @@ Variants {
|
||||
|
||||
// Only show on screens that have notifications enabled
|
||||
visible: modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|
||||
|| (Settings.data.notifications.monitors.length === 0)) : false
|
||||
|| (Settings.data.notifications.monitors.length === 0)) : false
|
||||
|
||||
// Position based on bar location, like Notification popup does
|
||||
anchors {
|
||||
@@ -57,7 +57,7 @@ Variants {
|
||||
Component.onCompleted: {
|
||||
// Only register toasts for screens that have notifications enabled
|
||||
if (modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|
||||
|| (Settings.data.notifications.monitors.length === 0)) : false) {
|
||||
|| (Settings.data.notifications.monitors.length === 0)) : false) {
|
||||
// Register this toast with the service
|
||||
ToastService.allToasts.push(toast)
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ Singleton {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (allDismissed) {
|
||||
isShowingToast = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user