diff --git a/prefs.js b/prefs.js
index 5ab36a1..76f9201 100644
--- a/prefs.js
+++ b/prefs.js
@@ -101,11 +101,6 @@ var PreferencesDialog = class PreferencesDialog {
this._builder.add_from_resource(`/ui/common/main-menu.ui`);
this._builder.add_from_resource(`/ui/${utils.getUIDir()}/prefs.ui`);
- // Bind general options properties.
- this.bindSwitch('destroy-dialogs');
- this.bindSwitch('disable-on-battery');
- this.bindSwitch('disable-on-power-save');
-
// Check whether the power profiles daemon is available - if not, we hide the
// corresponding settings row.
const PowerProfilesProxy = Gio.DBusProxy.makeProxyWrapper(
@@ -131,8 +126,7 @@ var PreferencesDialog = class PreferencesDialog {
this.gtkBoxAppend(this._widget, generalPrefs);
// Then add a preferences group for the effect expander rows.
- const group = new Adw.PreferencesGroup({title: _('Effects')});
- this.gtkBoxAppend(this._widget, group);
+ const group = this._builder.get_object('effects-group');
// This stores all expander rows for the effects. We use this to implement the
// accordion-functionality of the effect settings.
@@ -280,6 +274,7 @@ var PreferencesDialog = class PreferencesDialog {
if (Adw && utils.shellVersionIsAtLeast(42, 'beta')) {
const header = this._findWidgetByType(window.get_content(), Adw.HeaderBar);
header.pack_start(menu);
+ header.set_title_widget(this._builder.get_object('profile-button'));
// Allow closing of the sub pages.
window.can_navigate_back = true;
diff --git a/resources/img/scalable/actions/bmw-select-app-symbolic.svg b/resources/img/scalable/actions/bmw-select-app-symbolic.svg
new file mode 100644
index 0000000..2ad6301
--- /dev/null
+++ b/resources/img/scalable/actions/bmw-select-app-symbolic.svg
@@ -0,0 +1,55 @@
+
+
diff --git a/resources/ui/adw/prefs.ui b/resources/ui/adw/prefs.ui
index 51a65c1..77e5b55 100644
--- a/resources/ui/adw/prefs.ui
+++ b/resources/ui/adw/prefs.ui
@@ -8,111 +8,102 @@ SPDX-License-Identifier: GPL-3.0-or-later
+
+
-
+
vertical
- 60
- 20
-
-
-
- center
- burn-my-windows-symbolic
- 128
-
-
-
-
-
- Welcome to Burn-My-Windows!
- 8
- 6
-
-
-
-
-
-
- If you like this extension, recommend it to your friends :)
- 36
-
-
-
+
+ 20
-
- Also Add Effects to Dialogs
- destroy-dialogs
+
+ Application
-
+
+ bmw-select-app-symbolic
center
-
-
- edit-clear-symbolic
- center
- Reset to Default Value
-
-
-
-
- Disable on Battery Power
- disable-on-battery
-
-
- center
+
+ Window Type
+
+
+
+ - Any
+ - Normal Windows
+ - Dialogs
+
-
-
-
- edit-clear-symbolic
- center
- Reset to Default Value
-
-
-
+
-
- Disable in Power-Save Mode
- disable-on-power-save
-
-
- center
+
+ Power Mode
+
+
+
+ - Any
+ - On Battery
+ - Plugged In
+
-
-
-
- edit-clear-symbolic
- center
- Reset to Default Value
-
-
-
+
+
+
+ Power Profile
+
+
+
+ - Any
+ - Power Saver
+ - Balanced
+ - Performance
+ - Power Saver or Balanced
+ - Balanced or Performance
+
+
+
+
+
+
+
+
+
+
+