Skip to content

feat(hyprland): option to switch to focused output on workspace switcher - #4131

Merged
purian23 merged 1 commit into
masterfrom
feat/hyprland-switch-to-workspace
Nov 5, 2026
Merged

purian23 merged 1 commit into
masterfrom
feat/hyprland-switch-to-workspace

Conversation

@LuckShiba

@LuckShiba LuckShiba commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds an option to switch to the focused output if you click on a workspace that is not in the current output in the workspace switcher. Added only Hyprland support because in niri, DMS only shows the workspaces on the current output.

Currently open as a draft because I'm waiting who requested this feature to test this on Hyprland. Tested locally

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

@github-actions github-actions Bot added the ui Quickshell UI under quickshell/ label Nov 4, 2026
@apollo79

apollo79 commented Nov 4, 2026

Copy link
Copy Markdown
Member

There is an option on niri though to show all workspaces

@apollo79

apollo79 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

You might also want to move the hyprland command here: https://github.com/duxlabs-dev/dux-shell/blob/master/quickshell/Services/HyprlandService.qml

So we have all hyrpland stuff in one place

@LuckShiba

Copy link
Copy Markdown
Contributor Author

There is an option on niri though to show all workspaces

Where? I couldn't find it.

@LuckShiba

Copy link
Copy Markdown
Contributor Author

You might also want to move the hyprland command here: https://github.com/duxlabs-dev/dux-shell/blob/master/quickshell/Services/HyprlandService.qml

So we have all hyrpland stuff in one place

It is there, though? 😅

@LuckShiba
LuckShiba force-pushed the feat/hyprland-switch-to-workspace branch from cf2682d to 6eaaf23 Compare November 5, 2026 00:11
@LuckShiba
LuckShiba marked this pull request as ready for review November 5, 2026 00:12
@apollo79

apollo79 commented Nov 5, 2026

Copy link
Copy Markdown
Member

It is there, though? 😅

Seems I can't read a diff on phone, sorry 🥲

@purian23

purian23 commented Nov 5, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the Hyprland move-then-focus dispatch in CompositorService.switchToWorkspace and HyprlandService.moveWorkspaceToMonitor, how screenName/effectiveScreenName reach it from the bar and island hosts, record.output on Hyprland records and padding placeholders, the settings default and migration entry, the toggle's I18n strings and the search index, and the deprecated shims. Model: claude-opus-5-5.

@purian23
purian23 merged commit 65e65ac into master Nov 5, 2026
7 checks passed
dux-ci Bot pushed a commit that referenced this pull request Nov 5, 2026
@LuckShiba
LuckShiba deleted the feat/hyprland-switch-to-workspace branch November 5, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants