Skip to content

NT: Add branch naming GitHub workflow - #1

Open
ezeedub wants to merge 10 commits into
mainfrom
issue/nt-github-workflow
Open

ezeedub wants to merge 10 commits into
mainfrom
issue/nt-github-workflow

Conversation

@ezeedub

@ezeedub ezeedub commented Jul 14, 2025

Copy link
Copy Markdown
Owner

No description provided.

ezeedub and others added 10 commits July 14, 2025 16:31
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant