diff --git a/Assets/Translations/de.json b/Assets/Translations/de.json index 9d6df849..b03bfde5 100644 --- a/Assets/Translations/de.json +++ b/Assets/Translations/de.json @@ -484,12 +484,6 @@ "hover": "Beim Hover Scrollen", "never": "Nie Scrollen" }, - "visualizer-types": { - "linear": "Linear", - "mirrored": "Gespiegelt", - "none": "Keine", - "wave": "Welle" - }, "shadow-direction": { "bottom": "Unten", "bottom_left": "Unten links", @@ -501,6 +495,12 @@ "top_left": "Oben links", "top_right": "Oben rechts" }, + "visualizer-types": { + "linear": "Linear", + "mirrored": "Gespiegelt", + "none": "Keine", + "wave": "Welle" + }, "workspace-labels": { "index": "Index", "name": "Name", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Aktiviert Schlagschatten unter Balken und Panels.", - "label": "Schlagschatten", "direction": { "description": "Wählen, aus welcher Richtung der Schatten fällt.", "label": "Schattenrichtung" - } + }, + "label": "Schlagschatten" }, "title": "Benutzeroberfläche", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Hintergrundbilder mit Noctalia verwalten. Deaktivieren, wenn Sie eine andere Anwendung bevorzugen.", "label": "Hintergrundbild-Verwaltung aktivieren" }, + "enable-overview": { + "description": "Wendet ein verschwommenes und abgedunkeltes Hintergrundbild auf den Übersichts-Bildschirm an.", + "label": "Übersichtshintergrund aktivieren" + }, "folder": { "description": "Pfad zu Ihrem Haupt-Hintergrundbild-Ordner.", "label": "Hintergrundbild-Ordner", @@ -1773,10 +1777,10 @@ "night-light-forced": "Nachtlicht ist erzwungen.\nLinksklick zum Wechseln des Modus.\nRechtsklick für Einstellungen.", "night-light-not-installed": "Nachtlicht ist nicht verfügbar.\nwlsunset ist nicht installiert.", "open-control-center": "Kontrollzentrum öffnen", - "open-tray-dropdown": "Tray-Dropdown öffnen", "open-notification-history-disable-dnd": "Benachrichtigungsverlauf öffnen\nRechtsklick um 'Nicht stören' zu deaktivieren.", "open-notification-history-enable-dnd": "Benachrichtigungsverlauf öffnen\nRechtsklick um 'Nicht stören' zu aktivieren.", "open-settings": "Einstellungen öffnen", + "open-tray-dropdown": "Tray-Dropdown öffnen", "open-wallpaper-selector": "Hintergrundbild-Auswahl öffnen", "output-muted": "Audio-Ausgabe stummschalten", "pause": "Pausieren", diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index 034f00de..ef5f1c25 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -484,12 +484,6 @@ "hover": "Scroll On Hover", "never": "Never Scroll" }, - "visualizer-types": { - "linear": "Linear", - "mirrored": "Mirrored", - "none": "None", - "wave": "Wave" - }, "shadow-direction": { "bottom": "Below", "bottom_left": "Bottom left", @@ -501,6 +495,12 @@ "top_left": "Top left", "top_right": "Top right" }, + "visualizer-types": { + "linear": "Linear", + "mirrored": "Mirrored", + "none": "None", + "wave": "Wave" + }, "workspace-labels": { "index": "Index", "name": "Name", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Enables drop shadows under bars and panels.", - "label": "Drop shadows", "direction": { "description": "Choose where the shadow is cast from.", "label": "Shadow direction" - } + }, + "label": "Drop shadows" }, "title": "User interface", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Manage wallpapers with Noctalia. Uncheck if you prefer using another application.", "label": "Enable wallpaper management" }, + "enable-overview": { + "description": "Applies a blurred and dimmed wallpaper to the overview screen.", + "label": "Enable overview wallpaper" + }, "folder": { "description": "Path to your main wallpaper folder.", "label": "Wallpaper folder", @@ -1773,10 +1777,10 @@ "night-light-forced": "Night light is forced.\nLeft click to cycle mode.\nRight click to access settings.", "night-light-not-installed": "Night light is not available.\nwlsunset is not installed.", "open-control-center": "Open control center", - "open-tray-dropdown": "Open tray dropdown", "open-notification-history-disable-dnd": "Open notification history\nRight-click to disable \"Do not disturb\".", "open-notification-history-enable-dnd": "Open notification history\nRight-click to enable \"Do not disturb\".", "open-settings": "Open settings", + "open-tray-dropdown": "Open tray dropdown", "open-wallpaper-selector": "Open wallpaper selector", "output-muted": "Toggle output mute", "pause": "Pause", diff --git a/Assets/Translations/es.json b/Assets/Translations/es.json index 303f0037..fc02c379 100644 --- a/Assets/Translations/es.json +++ b/Assets/Translations/es.json @@ -484,12 +484,6 @@ "hover": "Desplazar al Pasar", "never": "Nunca Desplazar" }, - "visualizer-types": { - "linear": "Lineal", - "mirrored": "Espejado", - "none": "Ninguno", - "wave": "Onda" - }, "shadow-direction": { "bottom": "Inferior", "bottom_left": "Inferior izquierda", @@ -501,6 +495,12 @@ "top_left": "Superior izquierda", "top_right": "Superior derecha" }, + "visualizer-types": { + "linear": "Lineal", + "mirrored": "Espejado", + "none": "Ninguno", + "wave": "Onda" + }, "workspace-labels": { "index": "Índice", "name": "Nombre", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Habilita sombras paralelas debajo de las barras y los paneles.", - "label": "Sombras paralelas", "direction": { "description": "Elige desde dónde se proyecta la sombra.", "label": "Dirección de la sombra" - } + }, + "label": "Sombras paralelas" }, "title": "Interfaz de usuario", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Gestiona fondos de pantalla con Noctalia. Desmarca si prefieres usar otra aplicación.", "label": "Activar gestión de fondos de pantalla" }, + "enable-overview": { + "description": "Aplica un fondo de pantalla difuminado y atenuado a la pantalla de vista general.", + "label": "Activar fondo de pantalla de vista general" + }, "folder": { "description": "Ruta a tu carpeta principal de fondos de pantalla.", "label": "Carpeta de fondos de pantalla", @@ -1773,10 +1777,10 @@ "night-light-forced": "Luz nocturna forzada.\nClic izquierdo para cambiar de modo.\nClic derecho para acceder a la configuración.", "night-light-not-installed": "Luz nocturna no disponible.\nwlsunset no está instalado.", "open-control-center": "Abrir el centro de control", - "open-tray-dropdown": "Abrir menú desplegable de bandeja", "open-notification-history-disable-dnd": "Abrir historial de notificaciones\nClic derecho para desactivar \"No molestar\".", "open-notification-history-enable-dnd": "Abrir historial de notificaciones\nClic derecho para activar \"No molestar\".", "open-settings": "Abrir configuración", + "open-tray-dropdown": "Abrir menú desplegable de bandeja", "open-wallpaper-selector": "Abrir selector de fondos de pantalla", "output-muted": "Silenciar salida de audio", "pause": "Pausa", diff --git a/Assets/Translations/fr.json b/Assets/Translations/fr.json index 0d7898eb..ff5a22da 100644 --- a/Assets/Translations/fr.json +++ b/Assets/Translations/fr.json @@ -484,12 +484,6 @@ "hover": "Défiler au Survol", "never": "Ne Jamais Défiler" }, - "visualizer-types": { - "linear": "Linéaire", - "mirrored": "Miroir", - "none": "Aucun", - "wave": "Vague" - }, "shadow-direction": { "bottom": "En bas", "bottom_left": "En bas à gauche", @@ -501,6 +495,12 @@ "top_left": "En haut à gauche", "top_right": "En haut à droite" }, + "visualizer-types": { + "linear": "Linéaire", + "mirrored": "Miroir", + "none": "Aucun", + "wave": "Vague" + }, "workspace-labels": { "index": "Index", "name": "Nom", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Active les ombres portées sous les barres et les panneaux.", - "label": "Ombres portées", "direction": { "description": "Choisissez d’où vient l’ombre.", "label": "Direction de l’ombre" - } + }, + "label": "Ombres portées" }, "title": "Interface utilisateur", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Gérez les fonds d'écran avec Noctalia. Décochez si vous préférez utiliser une autre application.", "label": "Activer la gestion des fonds d'écran" }, + "enable-overview": { + "description": "Applique un fond d'écran flou et atténué à l'écran de présentation.", + "label": "Activer le fond d'écran de l'aperçu" + }, "folder": { "description": "Chemin vers votre dossier principal de fonds d'écran.", "label": "Dossier des fonds d'écran", @@ -1773,10 +1777,10 @@ "night-light-forced": "L'éclairage nocturne est forcé.\nClic gauche pour changer de mode.\nClic droit pour accéder aux paramètres.", "night-light-not-installed": "L'éclairage nocturne n'est pas disponible.\nwlsunset n'est pas installé.", "open-control-center": "Ouvrir le centre de contrôle", - "open-tray-dropdown": "Ouvrir le menu déroulant de la barre d'état", "open-notification-history-disable-dnd": "Ouvrir l'historique des notifications\nClic droit pour désactiver \"Ne pas déranger\".", "open-notification-history-enable-dnd": "Ouvrir l'historique des notifications\nClic droit pour activer \"Ne pas déranger\".", "open-settings": "Ouvrir les paramètres", + "open-tray-dropdown": "Ouvrir le menu déroulant de la barre d'état", "open-wallpaper-selector": "Ouvrir le sélecteur de fond d'écran", "output-muted": "Couper la sortie audio", "pause": "Pause", diff --git a/Assets/Translations/pt.json b/Assets/Translations/pt.json index 6a7164d6..95c91cd2 100644 --- a/Assets/Translations/pt.json +++ b/Assets/Translations/pt.json @@ -484,12 +484,6 @@ "hover": "Rolar ao Passar o Mouse", "never": "Nunca Rolar" }, - "visualizer-types": { - "linear": "Linear", - "mirrored": "Espelhado", - "none": "Nenhum", - "wave": "Onda" - }, "shadow-direction": { "bottom": "Inferior", "bottom_left": "Inferior esquerda", @@ -501,6 +495,12 @@ "top_left": "Superior esquerda", "top_right": "Superior direita" }, + "visualizer-types": { + "linear": "Linear", + "mirrored": "Espelhado", + "none": "Nenhum", + "wave": "Onda" + }, "workspace-labels": { "index": "Índice", "name": "Nome", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Ativa sombras projetadas sob barras e painéis.", - "label": "Sombras projetadas", "direction": { "description": "Escolha de onde a sombra é projetada.", "label": "Direção da sombra" - } + }, + "label": "Sombras projetadas" }, "title": "Interface do usuário", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Gerencie papéis de parede com o Noctalia. Desmarque se preferir usar outro aplicativo.", "label": "Ativar gerenciamento de papel de parede" }, + "enable-overview": { + "description": "Aplica um papel de parede desfocado e escurecido à tela de visão geral.", + "label": "Ativar papel de parede de visão geral" + }, "folder": { "description": "Caminho para a sua pasta principal de papéis de parede.", "label": "Pasta de papéis de parede", @@ -1773,10 +1777,10 @@ "night-light-forced": "Luz noturna forçada.\nClique esquerdo para alternar o modo.\nClique direito para acessar as configurações.", "night-light-not-installed": "Luz noturna não disponível.\nwlsunset não está instalado.", "open-control-center": "Abrir central de controle", - "open-tray-dropdown": "Abrir menu suspenso da bandeja", "open-notification-history-disable-dnd": "Abrir histórico de notificações\nClique direito para desativar \"Não perturbe\".", "open-notification-history-enable-dnd": "Abrir histórico de notificações\nClique direito para ativar \"Não perturbe\".", "open-settings": "Abrir configurações", + "open-tray-dropdown": "Abrir menu suspenso da bandeja", "open-wallpaper-selector": "Abrir seletor de papel de parede", "output-muted": "Silenciar saída de áudio", "pause": "Pausar", diff --git a/Assets/Translations/tr.json b/Assets/Translations/tr.json index 620feb73..1834537d 100644 --- a/Assets/Translations/tr.json +++ b/Assets/Translations/tr.json @@ -484,12 +484,6 @@ "hover": "Üzerine Gelince Kaydır", "never": "Asla Kaydırma" }, - "visualizer-types": { - "linear": "Doğrusal", - "mirrored": "Yansıtılmış", - "none": "Hiçbiri", - "wave": "Dalga" - }, "shadow-direction": { "bottom": "Alt", "bottom_left": "Sol alt", @@ -501,6 +495,12 @@ "top_left": "Sol üst", "top_right": "Sağ üst" }, + "visualizer-types": { + "linear": "Doğrusal", + "mirrored": "Yansıtılmış", + "none": "Hiçbiri", + "wave": "Dalga" + }, "workspace-labels": { "index": "İndeks", "name": "İsim", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Çubukların ve panellerin altında gölgelerin etkinleştirilmesini sağlar.", - "label": "Gölge efektleri", "direction": { "description": "Gölgenin hangi yönden verileceğini seçin.", "label": "Gölge yönü" - } + }, + "label": "Gölge efektleri" }, "title": "Kullanıcı arayüzü", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Duvar kağıtlarını Noctalia ile yönetin. Başka bir uygulamayı kullanmayı tercih ediyorsanız işareti kaldırın.", "label": "Duvar kağıdı yönetimini etkinleştir" }, + "enable-overview": { + "description": "Genel bakış ekranına bulanık ve karartılmış bir duvar kağıdı uygular.", + "label": "Genel bakış duvar kağıdını etkinleştir" + }, "folder": { "description": "Ana duvar kağıdı klasörünüzün yolu.", "label": "Duvar kağıdı klasörü", @@ -1773,10 +1777,10 @@ "night-light-forced": "Gece ışığı zorla.\nMod arasında geçiş yapmak için sol tık.\nAyarlara erişmek için sağ tık.", "night-light-not-installed": "Gece ışığı mevcut değil.\nwlsunset yüklü değil.", "open-control-center": "Kontrol merkezini aç", - "open-tray-dropdown": "Tepsi açılır menüsünü aç", "open-notification-history-disable-dnd": "Bildirim geçmişini aç\n\"Rahatsız etmeyi\" devre dışı bırakmak için sağ tık.", "open-notification-history-enable-dnd": "Bildirim geçmişini aç\n\"Rahatsız etmeyi\" etkinleştirmek için sağ tık.", "open-settings": "Ayarları aç", + "open-tray-dropdown": "Tepsi açılır menüsünü aç", "open-wallpaper-selector": "Duvar kağıdı seçiciyi aç", "output-muted": "Çıkış sessizliğini değiştir", "pause": "Duraklat", diff --git a/Assets/Translations/uk-UA.json b/Assets/Translations/uk-UA.json index eff8fa90..5a535a58 100644 --- a/Assets/Translations/uk-UA.json +++ b/Assets/Translations/uk-UA.json @@ -484,12 +484,6 @@ "hover": "Прокручувати при наведенні", "never": "Ніколи не прокручувати" }, - "visualizer-types": { - "linear": "Лінійний", - "mirrored": "Дзеркальний", - "none": "Немає", - "wave": "Хвиля" - }, "shadow-direction": { "bottom": "Знизу", "bottom_left": "Знизу ліворуч", @@ -501,6 +495,12 @@ "top_left": "Згори ліворуч", "top_right": "Згори праворуч" }, + "visualizer-types": { + "linear": "Лінійний", + "mirrored": "Дзеркальний", + "none": "Немає", + "wave": "Хвиля" + }, "workspace-labels": { "index": "Індекс", "name": "Назва", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "Увімкнути тіні під панелями та смугами.", - "label": "Тіні", "direction": { "description": "Виберіть, звідки падає тінь.", "label": "Напрямок тіні" - } + }, + "label": "Тіні" }, "title": "Користувацький інтерфейс", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "Керувати шпалерами за допомогою Noctalia. Вимкніть, якщо надаєте перевагу іншій програмі.", "label": "Увімкнути управління шпалерами" }, + "enable-overview": { + "description": "Застосовує розмиті та затемнені шпалери до екрана огляду.", + "label": "Увімкнути шпалери огляду" + }, "folder": { "description": "Шлях до основної теки шпалер.", "label": "Тека шпалер", @@ -1773,10 +1777,10 @@ "night-light-forced": "Нічне світло примусово.\nЛівий клік для циклічного режиму.\nПравий клік для доступу до налаштувань.", "night-light-not-installed": "Нічне світло недоступне.\nwlsunset не встановлено.", "open-control-center": "Відкрити центр керування", - "open-tray-dropdown": "Відкрити спадне меню трею", "open-notification-history-disable-dnd": "Відкрити історію сповіщень\nПравий клік для вимкнення \"Не турбувати\".", "open-notification-history-enable-dnd": "Відкрити історію сповіщень\nПравий клік для увімкнення \"Не турбувати\".", "open-settings": "Відкрити налаштування", + "open-tray-dropdown": "Відкрити спадне меню трею", "open-wallpaper-selector": "Відкрити вибір шпалер", "output-muted": "Перемкнути вимкнення виходу", "pause": "Пауза", diff --git a/Assets/Translations/zh-CN.json b/Assets/Translations/zh-CN.json index bbc6bb76..60343246 100644 --- a/Assets/Translations/zh-CN.json +++ b/Assets/Translations/zh-CN.json @@ -484,12 +484,6 @@ "hover": "悬停时滚动", "never": "从不滚动" }, - "visualizer-types": { - "linear": "线性", - "mirrored": "镜像", - "none": "无", - "wave": "波形" - }, "shadow-direction": { "bottom": "下方", "bottom_left": "左下", @@ -501,6 +495,12 @@ "top_left": "左上", "top_right": "右上" }, + "visualizer-types": { + "linear": "线性", + "mirrored": "镜像", + "none": "无", + "wave": "波形" + }, "workspace-labels": { "index": "索引", "name": "名称", @@ -1513,11 +1513,11 @@ }, "shadows": { "description": "启用条形图和面板下的阴影。", - "label": "阴影", "direction": { "description": "选择阴影投射的方向。", "label": "阴影方向" - } + }, + "label": "阴影" }, "title": "用户界面", "tooltips": { @@ -1573,6 +1573,10 @@ "description": "使用 Noctalia 管理壁纸。如果您更喜欢使用其他应用程序,请取消选中。", "label": "启用壁纸管理" }, + "enable-overview": { + "description": "将模糊且变暗的壁纸应用于概览屏幕。", + "label": "启用概览壁纸" + }, "folder": { "description": "您的主壁纸文件夹路径。", "label": "壁纸文件夹", @@ -1773,10 +1777,10 @@ "night-light-forced": "夜间模式已强制启用。\n左键点击循环模式。\n右键点击访问设置。", "night-light-not-installed": "夜间模式不可用。\nwlsunset 未安装。", "open-control-center": "打开控制中心", - "open-tray-dropdown": "打开系统托盘下拉菜单", "open-notification-history-disable-dnd": "打开通知历史记录\n右键点击禁用\"勿扰模式\"。", "open-notification-history-enable-dnd": "打开通知历史记录\n右键点击启用\"勿扰模式\"。", "open-settings": "打开设置", + "open-tray-dropdown": "打开系统托盘下拉菜单", "open-wallpaper-selector": "打开壁纸选择器", "output-muted": "静音输出设备", "pause": "暂停", diff --git a/Assets/settings-default.json b/Assets/settings-default.json index 9a37fa8a..e6b28d3f 100644 --- a/Assets/settings-default.json +++ b/Assets/settings-default.json @@ -108,6 +108,7 @@ }, "wallpaper": { "enabled": true, + "overviewEnabled": true, "directory": "", "enableMultiMonitorDirectories": false, "recursiveSearch": false, @@ -121,7 +122,7 @@ "transitionType": "random", "transitionEdgeSmoothness": 0.05, "monitors": [], - "panelPosition": "folow_bar" + "panelPosition": "follow_bar" }, "appLauncher": { "enableClipboardHistory": false, diff --git a/Commons/Settings.qml b/Commons/Settings.qml index c7f6b46c..0eb314dd 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -246,6 +246,7 @@ Singleton { // wallpaper property JsonObject wallpaper: JsonObject { property bool enabled: true + property bool overviewEnabled: true property string directory: "" property bool enableMultiMonitorDirectories: false property bool recursiveSearch: false diff --git a/Modules/Background/Background.qml b/Modules/Background/Background.qml index 9da4118f..d6db2acb 100644 --- a/Modules/Background/Background.qml +++ b/Modules/Background/Background.qml @@ -85,7 +85,7 @@ Variants { screen: modelData WlrLayershell.layer: WlrLayer.Background WlrLayershell.exclusionMode: ExclusionMode.Ignore - WlrLayershell.namespace: "quickshell-wallpaper" + WlrLayershell.namespace: "noctalia-wallpaper-" + (screen?.name || "unknown") anchors { bottom: true diff --git a/Modules/Background/Overview.qml b/Modules/Background/Overview.qml index a4009366..3f3506f1 100644 --- a/Modules/Background/Overview.qml +++ b/Modules/Background/Overview.qml @@ -6,21 +6,21 @@ import qs.Commons import qs.Services import qs.Widgets -Variants { - model: Quickshell.screens +Loader { + active: CompositorService.isNiri && Settings.data.wallpaper.enabled && Settings.data.wallpaper.overviewEnabled - delegate: Loader { - required property ShellScreen modelData - property string wallpaper: "" + sourceComponent: Variants { + model: Quickshell.screens - active: CompositorService.isNiri && Settings.data.wallpaper.enabled && modelData - - sourceComponent: PanelWindow { + delegate: PanelWindow { id: panelWindow + required property ShellScreen modelData + property string wallpaper: "" + Component.onCompleted: { if (modelData) { - Logger.d("Overview", "Loading Overview component for Niri on", modelData.name) + Logger.d("Overview", "Loading overview for Niri on", modelData.name) } setWallpaperInitial() } @@ -50,7 +50,7 @@ Variants { screen: modelData WlrLayershell.layer: WlrLayer.Background WlrLayershell.exclusionMode: ExclusionMode.Ignore - WlrLayershell.namespace: "quickshell-overview" + WlrLayershell.namespace: "noctalia-overview-" + (screen?.name || "unknown") anchors { top: true diff --git a/Modules/Dock/Dock.qml b/Modules/Dock/Dock.qml index 9c06ce3d..ee57226c 100644 --- a/Modules/Dock/Dock.qml +++ b/Modules/Dock/Dock.qml @@ -205,7 +205,7 @@ Variants { focusable: false color: Color.transparent - WlrLayershell.namespace: "noctalia-dock-peek" + WlrLayershell.namespace: "noctalia-dock-peek-" + (screen?.name || "unknown") WlrLayershell.exclusionMode: ExclusionMode.Ignore implicitHeight: peekHeight @@ -244,7 +244,7 @@ Variants { focusable: false color: Color.transparent - WlrLayershell.namespace: "noctalia-dock-main" + WlrLayershell.namespace: "noctalia-dock-" + (screen?.name || "unknown") WlrLayershell.exclusionMode: exclusive ? ExclusionMode.Auto : ExclusionMode.Ignore // Size to fit the dock container exactly diff --git a/Modules/Notification/Notification.qml b/Modules/Notification/Notification.qml index 5da60b98..901556ea 100644 --- a/Modules/Notification/Notification.qml +++ b/Modules/Notification/Notification.qml @@ -44,7 +44,7 @@ Variants { sourceComponent: PanelWindow { screen: modelData - WlrLayershell.namespace: "noctalia-notifications" + WlrLayershell.namespace: "noctalia-notifications-" + (screen?.name || "unknown") WlrLayershell.layer: (Settings.data.notifications && Settings.data.notifications.overlayLayer) ? WlrLayer.Overlay : WlrLayer.Top color: Color.transparent diff --git a/Modules/Settings/Tabs/WallpaperTab.qml b/Modules/Settings/Tabs/WallpaperTab.qml index 5d7175aa..3876534c 100644 --- a/Modules/Settings/Tabs/WallpaperTab.qml +++ b/Modules/Settings/Tabs/WallpaperTab.qml @@ -27,6 +27,22 @@ ColumnLayout { Layout.bottomMargin: Style.marginL } + NToggle { + visible: Settings.data.wallpaper.enabled && CompositorService.isNiri + label: I18n.tr("settings.wallpaper.settings.enable-overview.label") + description: I18n.tr("settings.wallpaper.settings.enable-overview.description") + checked: Settings.data.wallpaper.overviewEnabled + onToggled: checked => Settings.data.wallpaper.overviewEnabled = checked + Layout.bottomMargin: Style.marginL + } + + NDivider { + visible: Settings.data.wallpaper.enabled + Layout.fillWidth: true + Layout.topMargin: Style.marginXL + Layout.bottomMargin: Style.marginXL + } + ColumnLayout { visible: Settings.data.wallpaper.enabled spacing: Style.marginL