diff --git a/Assets/Translations/de.json b/Assets/Translations/de.json index a40b6585..68684ca6 100644 --- a/Assets/Translations/de.json +++ b/Assets/Translations/de.json @@ -1567,6 +1567,15 @@ }, "title": "Sitzungsmenü" }, + "system-monitor": { + "general": { + "section": { + "description": "Konfigurieren Sie das Verhalten und Aussehen des Systemmonitors.", + "label": "Allgemein" + } + }, + "title": "Systemmonitor" + }, "user-interface": { "animation-disable": { "description": "Deaktivieren Sie alle Animationen für eine schnellere und reaktionsfreudigere Erfahrung.", diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index 105cd572..5e649837 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -1567,6 +1567,15 @@ }, "title": "Session Menu" }, + "system-monitor": { + "general": { + "section": { + "description": "Configure the System Monitor behavior and appearance.", + "label": "General" + } + }, + "title": "System Monitor" + }, "user-interface": { "animation-disable": { "description": "Disable all animations for a faster, more responsive experience.", diff --git a/Assets/Translations/es.json b/Assets/Translations/es.json index e92bc358..2c85f07a 100644 --- a/Assets/Translations/es.json +++ b/Assets/Translations/es.json @@ -1567,6 +1567,15 @@ }, "title": "Menú de sesión" }, + "system-monitor": { + "general": { + "section": { + "description": "Configurar el comportamiento y la apariencia del Monitor del sistema.", + "label": "General" + } + }, + "title": "Monitor del sistema" + }, "user-interface": { "animation-disable": { "description": "Desactiva todas las animaciones para una experiencia más rápida y con mayor capacidad de respuesta.", diff --git a/Assets/Translations/fr.json b/Assets/Translations/fr.json index 90d6e5f5..d1fd83d3 100644 --- a/Assets/Translations/fr.json +++ b/Assets/Translations/fr.json @@ -1567,6 +1567,15 @@ }, "title": "Menu de session" }, + "system-monitor": { + "general": { + "section": { + "description": "Configurer le comportement et l'apparence du Moniteur Système.", + "label": "Général" + } + }, + "title": "Moniteur système" + }, "user-interface": { "animation-disable": { "description": "Désactiver toutes les animations pour une expérience plus rapide et plus réactive.", diff --git a/Assets/Translations/nl.json b/Assets/Translations/nl.json index acd1897a..b2752ea2 100644 --- a/Assets/Translations/nl.json +++ b/Assets/Translations/nl.json @@ -1567,6 +1567,15 @@ }, "title": "Sessiemenu" }, + "system-monitor": { + "general": { + "section": { + "description": "Configureer het gedrag en de weergave van de Systeemmonitor.", + "label": "Algemeen" + } + }, + "title": "Systeemmonitor" + }, "user-interface": { "animation-disable": { "description": "Schakel alle animaties uit voor een snellere, responsievere ervaring.", diff --git a/Assets/Translations/pt.json b/Assets/Translations/pt.json index 642ae508..aa3f25e7 100644 --- a/Assets/Translations/pt.json +++ b/Assets/Translations/pt.json @@ -1567,6 +1567,15 @@ }, "title": "Menu de sessão" }, + "system-monitor": { + "general": { + "section": { + "description": "Configure o comportamento e a aparência do Monitor do Sistema.", + "label": "Geral" + } + }, + "title": "Monitor do Sistema" + }, "user-interface": { "animation-disable": { "description": "Desative todas as animações para uma experiência mais rápida e responsiva.", diff --git a/Assets/Translations/ru.json b/Assets/Translations/ru.json index f76968f5..7d0b2859 100644 --- a/Assets/Translations/ru.json +++ b/Assets/Translations/ru.json @@ -1567,6 +1567,15 @@ }, "title": "Меню сеанса" }, + "system-monitor": { + "general": { + "section": { + "description": "Настроить поведение и внешний вид системного монитора.", + "label": "Общее" + } + }, + "title": "Системный монитор" + }, "user-interface": { "animation-disable": { "description": "Отключить все анимации для более быстрого и отзывчивого взаимодействия.", diff --git a/Assets/Translations/tr.json b/Assets/Translations/tr.json index 5347d72a..a9b5aa7a 100644 --- a/Assets/Translations/tr.json +++ b/Assets/Translations/tr.json @@ -1567,6 +1567,15 @@ }, "title": "Oturum Menüsü" }, + "system-monitor": { + "general": { + "section": { + "description": "Sistem İzleyicisinin davranışını ve görünümünü yapılandırın.", + "label": "Genel" + } + }, + "title": "Sistem İzleme" + }, "user-interface": { "animation-disable": { "description": "Daha hızlı ve daha duyarlı bir deneyim için tüm animasyonları devre dışı bırakın.", diff --git a/Assets/Translations/uk-UA.json b/Assets/Translations/uk-UA.json index cbbb30b7..077e6781 100644 --- a/Assets/Translations/uk-UA.json +++ b/Assets/Translations/uk-UA.json @@ -1567,6 +1567,15 @@ }, "title": "Меню сеансу" }, + "system-monitor": { + "general": { + "section": { + "description": "Налаштуйте поведінку та зовнішній вигляд Системного монітора.", + "label": "Загальне" + } + }, + "title": "Системний монітор" + }, "user-interface": { "animation-disable": { "description": "Вимкнути всі анімації для швидшого, більш відгукового досвіду.", diff --git a/Assets/Translations/zh-CN.json b/Assets/Translations/zh-CN.json index 1bc217de..bfc896e4 100644 --- a/Assets/Translations/zh-CN.json +++ b/Assets/Translations/zh-CN.json @@ -1474,7 +1474,6 @@ "description": "配置屏显菜单(OSD)的可见性与行为。", "label": "常规" } - }, "title": "屏显菜单" }, @@ -1568,6 +1567,15 @@ }, "title": "会话菜单" }, + "system-monitor": { + "general": { + "section": { + "description": "配置系统监视器的行为和外观。", + "label": "通用" + } + }, + "title": "系统监视器" + }, "user-interface": { "animation-disable": { "description": "禁用所有动画以获得更快、更流畅的体验。", diff --git a/Commons/IconsTabler.qml b/Commons/IconsTabler.qml index f700360b..32512878 100644 --- a/Commons/IconsTabler.qml +++ b/Commons/IconsTabler.qml @@ -123,6 +123,7 @@ Singleton { "settings-about": "info-square-rounded", "settings-lock-screen": "lock", "settings-session-menu": "power", + "settings-system-monitor": "activity", "bluetooth": "bluetooth", "bt-device-generic": "bluetooth", "bt-device-headphones": "headphones", diff --git a/Modules/Panels/Settings/SettingsPanel.qml b/Modules/Panels/Settings/SettingsPanel.qml index 5fcdd3a7..8ca6e144 100644 --- a/Modules/Panels/Settings/SettingsPanel.qml +++ b/Modules/Panels/Settings/SettingsPanel.qml @@ -77,6 +77,7 @@ SmartPanel { Notifications, ScreenRecorder, SessionMenu, + SystemMonitor, UserInterface, Wallpaper } @@ -166,6 +167,10 @@ SmartPanel { id: sessionMenuTab SessionMenuTab {} } + Component { + id: systemMonitorTab + SystemMonitorTab {} + } // Order *DOES* matter function updateTabsModel() { @@ -249,16 +254,22 @@ SmartPanel { "label": "settings.screen-recorder.title", "icon": "settings-screen-recorder", "source": screenRecorderTab - }, { - "id": SettingsPanel.Tab.Hooks, - "label": "settings.hooks.title", - "icon": "settings-hooks", - "source": hooksTab }, { "id": SettingsPanel.Tab.SessionMenu, "label": "settings.session-menu.title", "icon": "settings-session-menu", "source": sessionMenuTab + }, // { + // "id": SettingsPanel.Tab.SystemMonitor, + // "label": "settings.system-monitor.title", + // "icon": "settings-system-monitor", + // "source": systemMonitorTab + // }, + { + "id": SettingsPanel.Tab.Hooks, + "label": "settings.hooks.title", + "icon": "settings-hooks", + "source": hooksTab }, { "id": SettingsPanel.Tab.About, "label": "settings.about.title", diff --git a/Modules/Panels/Settings/Tabs/SystemMonitorTab.qml b/Modules/Panels/Settings/Tabs/SystemMonitorTab.qml new file mode 100644 index 00000000..80d58f33 --- /dev/null +++ b/Modules/Panels/Settings/Tabs/SystemMonitorTab.qml @@ -0,0 +1,22 @@ +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts +import Quickshell +import qs.Commons +import qs.Services.UI +import qs.Widgets + +ColumnLayout { + id: root + + spacing: Style.marginL + + Component.onCompleted: { + + } + + NHeader { + label: I18n.tr("settings.system-monitor.general.section.label") + description: I18n.tr("settings.system-monitor.general.section.description") + } +}