You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: remove X11 support and legacy window decoration code
Removes all X11-specific functionality including xprop dependency, window decoration control, and X11-specific window property handling. The extension is now Wayland-only.
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,12 +122,18 @@ There is file `$XDG_CONFIG_HOME/gnome-mosaic/config.json` where you can add the
122
122
123
123
```json
124
124
{
125
-
"class": "<WM_CLASS String from xprop>",
125
+
"class": "<WM_CLASS String>",
126
126
"title": "<Optional Window Title>"
127
127
}
128
128
```
129
129
130
-
For example, doing `xprop` on GNOME Settings (or GNOME Control Center), the WM_CLASS values are `gnome-control-center` and `Gnome-control-center`. Use the second value (Gnome-control-center), which gnome-mosaic will read. The `title` field is optional.
130
+
To find the WM_CLASS of a window, you can:
131
+
132
+
1. Use the extension's built-in exception dialog (accessible from the panel menu)
133
+
2. Check the output of `journalctl -f -o cat /usr/bin/gnome-shell` when focusing the window
For example, for GNOME Settings (or GNOME Control Center), the WM_CLASS values are `gnome-control-center` and `Gnome-control-center`. Use the second value (Gnome-control-center), which gnome-mosaic will read. The `title` field is optional.
131
137
132
138
After applying changes in `config.json`, you can reload the tiling if it doesn't work the first time.
133
139
@@ -141,7 +147,7 @@ Please install the following as dependencies when developing:
141
147
- Latest `npm` (comes with NodeJS)
142
148
-`npm install typescript@latest`
143
149
144
-
While working on the shell, you can recompile, reconfigure, reinstall, and restart GNOME Shell with logging with `make debug`. Note that this only works reliably in X11 sessions, since Wayland will exit to the login screen on restarting the shell.
150
+
While working on the shell, you can recompile, reconfigure, reinstall, and restart GNOME Shell with logging with `make debug`. Note that this only works reliably on Wayland sessions when using nested mode, since restarting the shell on Wayland will exit to the login screen.
0 commit comments