diff --git a/.gitignore b/.gitignore
index 0ba8769..ae3742f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,2 @@
**node_modules
-package-lock.json
-floatbar.zip
-**.compiled
\ No newline at end of file
+package-lock.json
\ No newline at end of file
diff --git a/dist/metadata.json b/dist/metadata.json
deleted file mode 100644
index c6df5c3..0000000
--- a/dist/metadata.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "float bar",
- "description": "Adaptive floating topbar",
- "uuid": "floatbar@tomtroeger.de",
- "settings-schema": "org.gnome.shell.extensions.my-extension",
- "shell-version": [
- "46"
- ]
- }
-
\ No newline at end of file
diff --git a/dist/prefs.js b/dist/prefs.js
deleted file mode 100644
index cf82ea9..0000000
--- a/dist/prefs.js
+++ /dev/null
@@ -1,42 +0,0 @@
-import Gtk from "gi://Gtk";
-import Adw from "gi://Adw";
-import Gio from "gi://Gio";
-import { ExtensionPreferences, gettext as _ } from "resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js";
-export default class GnomeRectanglePreferences extends ExtensionPreferences {
- _settings;
- fillPreferencesWindow(window) {
- this._settings = this.getSettings();
- const page = new Adw.PreferencesPage({
- title: _("General"),
- iconName: "dialog-information-symbolic",
- });
- const animationGroup = new Adw.PreferencesGroup({
- title: _("Animation"),
- description: _("Configure move/resize animation"),
- });
- page.add(animationGroup);
- const animationEnabled = new Adw.SwitchRow({
- title: _("Enabled"),
- subtitle: _("Floating Window"),
- });
- animationGroup.add(animationEnabled);
- const paddingGroup = new Adw.PreferencesGroup({
- title: _("Paddings"),
- description: _("Configure the padding between windows"),
- });
- page.add(paddingGroup);
- const paddingInner = new Adw.SpinRow({
- title: _("Inner"),
- subtitle: _("Padding between windows"),
- adjustment: new Gtk.Adjustment({
- lower: 0,
- upper: 1000,
- stepIncrement: 1,
- }),
- });
- paddingGroup.add(paddingInner);
- window.add(page);
- this._settings.bind("float", animationEnabled, "active", Gio.SettingsBindFlags.DEFAULT);
- this._settings.bind("padding-inner", paddingInner, "value", Gio.SettingsBindFlags.DEFAULT);
- }
-}
diff --git a/dist/schemas/org.gnome.shell.extensions.floatbar.gschema.xml b/dist/schemas/org.gnome.shell.extensions.floatbar.gschema.xml
deleted file mode 100644
index 36d3391..0000000
--- a/dist/schemas/org.gnome.shell.extensions.floatbar.gschema.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
- 8
- Inner padding
- Padding between windows
-
-
- true
- Floating
- Whether the topbar floats or not
-
-
-
\ No newline at end of file
diff --git a/dist/stylesheet.css b/dist/stylesheet.css
deleted file mode 100644
index 11b31f5..0000000
--- a/dist/stylesheet.css
+++ /dev/null
@@ -1,9 +0,0 @@
-#panel.floating {
- margin: 3px;
- border-radius: 9999px;
-}
-
-#panel.solid {
- margin: 0;
- border-radius: 0;
-}
diff --git a/prefs.ts b/prefs.ts
deleted file mode 100644
index 89f130f..0000000
--- a/prefs.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import Gtk from "gi://Gtk";
-import Adw from "gi://Adw";
-import Gio from "gi://Gio";
-import { ExtensionPreferences, gettext as _ } from "resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js";
-
-export default class GnomeRectanglePreferences extends ExtensionPreferences {
- _settings?: Gio.Settings;
-
- fillPreferencesWindow(window: Adw.PreferencesWindow) {
- this._settings = this.getSettings();
-
- const page = new Adw.PreferencesPage({
- title: _("General"),
- iconName: "dialog-information-symbolic",
- });
-
- const animationGroup = new Adw.PreferencesGroup({
- title: _("Animation"),
- description: _("Configure move/resize animation"),
- });
- page.add(animationGroup);
-
- const animationEnabled = new Adw.SwitchRow({
- title: _("Enabled"),
- subtitle: _("Floating Window"),
- });
- animationGroup.add(animationEnabled);
-
- const paddingGroup = new Adw.PreferencesGroup({
- title: _("Paddings"),
- description: _("Configure the padding between windows"),
- });
- page.add(paddingGroup);
-
- const paddingInner = new Adw.SpinRow({
- title: _("Inner"),
- subtitle: _("Padding between windows"),
- adjustment: new Gtk.Adjustment({
- lower: 0,
- upper: 1000,
- stepIncrement: 1,
- }),
- });
- paddingGroup.add(paddingInner);
-
- window.add(page);
-
- this._settings!.bind("float", animationEnabled, "active", Gio.SettingsBindFlags.DEFAULT);
- this._settings!.bind("padding-inner", paddingInner, "value", Gio.SettingsBindFlags.DEFAULT);
- }
-}
diff --git a/schemas/org.gnome.shell.extensions.floatbar.gschema.xml b/schemas/org.gnome.shell.extensions.floatbar.gschema.xml
deleted file mode 100644
index 36d3391..0000000
--- a/schemas/org.gnome.shell.extensions.floatbar.gschema.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
- 8
- Inner padding
- Padding between windows
-
-
- true
- Floating
- Whether the topbar floats or not
-
-
-
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
index fa0aadd..50fcd66 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -15,6 +15,5 @@
],
"files": [
"extension.ts",
- "prefs.ts"
],
}
\ No newline at end of file