diff --git a/.config/quickshell/ii/modules/bar/UtilButtons.qml b/.config/quickshell/ii/modules/bar/UtilButtons.qml index 7297f886..93c26e9c 100644 --- a/.config/quickshell/ii/modules/bar/UtilButtons.qml +++ b/.config/quickshell/ii/modules/bar/UtilButtons.qml @@ -1,5 +1,5 @@ -import "root:/modules/common" -import "root:/modules/common/widgets" +import qs.modules.common +import qs.modules.common.widgets import QtQuick import QtQuick.Layouts import Quickshell @@ -107,8 +107,8 @@ Item { } Loader { - active: Config.options.bar.utilButtons.showPerfProfileToggle - visible: Config.options.bar.utilButtons.showPerfProfileToggle + active: Config.options.bar.utilButtons.showPerformanceProfileToggle + visible: Config.options.bar.utilButtons.showPerformanceProfileToggle sourceComponent: CircleUtilButton { Layout.alignment: Qt.AlignVCenter onClicked: event => { diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 047b8948..339596a6 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -124,7 +124,7 @@ Singleton { property bool showMicToggle: false property bool showKeyboardToggle: true property bool showDarkModeToggle: true - property bool showPerfProfileToggle: false + property bool showPerformanceProfileToggle: false } property JsonObject tray: JsonObject { property bool monochromeIcons: true diff --git a/.config/quickshell/ii/modules/settings/InterfaceConfig.qml b/.config/quickshell/ii/modules/settings/InterfaceConfig.qml index 293b6032..3f8be496 100644 --- a/.config/quickshell/ii/modules/settings/InterfaceConfig.qml +++ b/.config/quickshell/ii/modules/settings/InterfaceConfig.qml @@ -165,9 +165,9 @@ ContentPage { } ConfigSwitch { text: "Performance Profile toggle" - checked: Config.options.bar.utilButtons.showPerfProfileToggle + checked: Config.options.bar.utilButtons.showPerformanceProfileToggle onCheckedChanged: { - Config.options.bar.utilButtons.showPerfProfileToggle = checked; + Config.options.bar.utilButtons.showPerformanceProfileToggle = checked; } } }