mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-31 17:54:41 +00:00
OSD: add always on top setting
This commit is contained in:
@@ -426,6 +426,10 @@
|
||||
"label": "Bildschirmanzeige aktivieren",
|
||||
"description": "Lautstärke- und Helligkeitsänderungen in Echtzeit anzeigen."
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "Immer im Vordergrund",
|
||||
"description": "Bildschirmanzeige über Vollbildfenstern und anderen Ebenen anzeigen."
|
||||
},
|
||||
"location": {
|
||||
"label": "Position",
|
||||
"description": "Wo Bildschirmanzeigen erscheinen."
|
||||
|
||||
@@ -426,6 +426,10 @@
|
||||
"label": "Enable on screen display",
|
||||
"description": "Show volume and brightness changes in real-time."
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "Always on top",
|
||||
"description": "Display OSD above fullscreen windows and other layers."
|
||||
},
|
||||
"location": {
|
||||
"label": "Location",
|
||||
"description": "Where on-screen displays appear."
|
||||
|
||||
@@ -426,6 +426,10 @@
|
||||
"label": "Activar visualización en pantalla",
|
||||
"description": "Mostrar cambios de volumen y brillo en tiempo real."
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "Siempre encima",
|
||||
"description": "Mostrar OSD por encima de ventanas de pantalla completa y otras capas."
|
||||
},
|
||||
"location": {
|
||||
"label": "Ubicación",
|
||||
"description": "Dónde aparece la visualización en pantalla."
|
||||
|
||||
@@ -426,6 +426,10 @@
|
||||
"label": "Activer l'affichage à l'écran",
|
||||
"description": "Afficher en temps réel les changements de volume et de luminosité."
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "Toujours au premier plan",
|
||||
"description": "Afficher l'OSD au-dessus des fenêtres plein écran et autres couches."
|
||||
},
|
||||
"location": {
|
||||
"label": "Emplacement",
|
||||
"description": "Emplacement des affichages à l'écran."
|
||||
|
||||
@@ -766,6 +766,10 @@
|
||||
"label": "Ativar exibição na tela",
|
||||
"description": "Mostrar alterações de volume e brilho em tempo real."
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "Sempre no topo",
|
||||
"description": "Exibir OSD acima de janelas em tela cheia e outras camadas."
|
||||
},
|
||||
"location": {
|
||||
"label": "Localização",
|
||||
"description": "Onde a exibição na tela aparece."
|
||||
|
||||
@@ -426,6 +426,10 @@
|
||||
"label": "启用屏幕显示",
|
||||
"description": "实时显示音量与亮度变化。"
|
||||
},
|
||||
"always-on-top": {
|
||||
"label": "始终置顶",
|
||||
"description": "在全屏窗口和其他图层之上显示OSD。"
|
||||
},
|
||||
"location": {
|
||||
"label": "位置",
|
||||
"description": "屏幕显示出现的位置。"
|
||||
|
||||
@@ -297,6 +297,7 @@ Singleton {
|
||||
property string location: "top_right"
|
||||
property list<string> monitors: []
|
||||
property int autoHideMs: 2000
|
||||
property bool alwaysOnTop: false
|
||||
}
|
||||
|
||||
// audio
|
||||
|
||||
@@ -204,6 +204,7 @@ Variants {
|
||||
color: Color.transparent
|
||||
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.None
|
||||
WlrLayershell.layer: (Settings.data.osd && Settings.data.osd.alwaysOnTop) ? WlrLayer.Overlay : WlrLayer.Top
|
||||
exclusionMode: PanelWindow.ExclusionMode.Ignore
|
||||
|
||||
Rectangle {
|
||||
|
||||
@@ -83,6 +83,13 @@ ColumnLayout {
|
||||
onToggled: checked => Settings.data.osd.enabled = checked
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("settings.osd.always-on-top.label")
|
||||
description: I18n.tr("settings.osd.always-on-top.description")
|
||||
checked: Settings.data.osd.alwaysOnTop
|
||||
onToggled: checked => Settings.data.osd.alwaysOnTop = checked
|
||||
}
|
||||
|
||||
NLabel {
|
||||
label: I18n.tr("settings.osd.duration.auto-hide.label")
|
||||
description: I18n.tr("settings.osd.duration.auto-hide.description")
|
||||
|
||||
Reference in New Issue
Block a user