We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e09f65d commit 04e29acCopy full SHA for 04e29ac
tests/fixtures/examples-exclusion@test/examples/winprops.js
@@ -0,0 +1,16 @@
1
+// Example: customize window properties for PaperWM
2
+// This file uses the old imports.* API for GNOME 44 compatibility.
3
+// It is NOT part of the extension runtime.
4
+const GLib = imports.gi.GLib;
5
+const Meta = imports.gi.Meta;
6
+const Shell = imports.gi.Shell;
7
+const St = imports.ui.st;
8
+
9
+// Example: make terminal windows always float
10
+function init(ext) {
11
+ ext.winprops.forEach(function(p) {
12
+ if (p.wm_class === "Alacritty") {
13
+ p.float = true;
14
+ }
15
+ });
16
+}
0 commit comments