Repository navigation
Conversation
- GetActiveWindowInfo now includes workspace number (1-based) in returned JSON - New PositionWindowByClassOnWorkspace method moves window to a target workspace before positioning it - New PositionWindowByClassAndTitleOnWorkspace does the same with title filtering - _moveWindow accepts an optional workspace parameter (0 = no change) Requires logout/login to take effect after deployment.
Presets (formerly "configurations") now support three metadata fields: - workspace: which GNOME workspace the window belongs on (1-based, 0 = any) - app: app group for display grouping (e.g. chrome, terminal) - profile: use-case grouping (e.g. work, personal) These are captured automatically or prompted during `position capture` and editable via `position edit`. `position list` (and new alias `position ls`) now displays presets grouped by profile then app, with a footer reminding about `position all`. New `position all` command positions every saved preset at once, with optional `--profile` and `--app` filters. Failures are non-fatal and a summary is printed at the end. When a preset has a workspace set, the script calls the new workspace-aware D-Bus methods; falls back gracefully to the old methods if the extension has not been reloaded yet.
In the extension, _moveWindow now calls window.stick() when workspace is 0, and window.unstick() before change_workspace() when workspace is positive. GetActiveWindowInfo includes a sticky field in the returned JSON. In the position script, sticky windows auto-capture as workspace=0 during capture. The workspace prompt adapts its hint based on whether the window is sticky. The write condition now uses a regex so workspace=0 is written to config (previously the > 0 guard suppressed it). list --full displays workspace 0 as "all (sticky)".
Gemini project configuration file, likely from an earlier experiment.
All verbose console.log calls are now no-ops unless DEBUG=true at the top of extension.js. Eliminates ~14k journal lines per boot and the per-failed- match window dump. console.error calls are unchanged. Also adds session-modes: unlock-dialog to metadata.json so the extension stays loaded across screensaver activate/deactivate, avoiding the repeated disable/enable GC cycles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.