Skip to content

config: let super+u/i reach empty workspaces on hyprland - #4443

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:hyprland-workspace-step-empty
Nov 28, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:hyprland-workspace-step-empty

Conversation

@Conava

@Conava Conava commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Super+U and Super+I on Hyprland only went through workspaces that already have windows, so they could never get to a new empty workspace like they do on niri.
They now go to the next or previous workspace on the current monitor, empty ones included. The same goes for moving a window with Super+Ctrl+U/I and Super+Shift+U/I.

Super+Page Up/Down, Super+Ctrl+Up/Down and the mouse wheel still only go through workspaces with windows, so both ways stay available. The keybinds page also gets names for the new actions, but no new translations since all the other strings in that file already dont have translations.

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

The default Hyprland binds stepped through workspaces with e+1/e-1,
which only visits workspaces that already have windows, so Super+U
could never open a fresh workspace. On niri the same keys walk the
monitor's workspaces including the empty one after the last.

Super+U/I and the window moves on Super+Ctrl+U/I and Super+Shift+U/I
now use r+1/r-1: the next workspace on the current monitor, empty
ones included. Super+Page Up/Down, Super+Ctrl+Up/Down and the mouse
wheel keep e+1/e-1 for jumping between occupied workspaces. The
keybinds page gets labels for the r+1/r-1 actions.
@github-actions github-actions Bot added core Go daemon and CLI under core/ fix ui Quickshell UI under quickshell/ labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the e±1 to r±1 bind changes in hypr-binds.lua against the Lua parser and writer round-trip (hl.dsp.focus/hl.dsp.window.move map to workspace/movetoworkspace r±1), the new HYPRLAND_ACTIONS ids against TestHyprlandKeybindCatalogMapsToLua and getActionLabel, and looked for other copies of the default binds. Model: claude-opus-5-5.

@purian23
purian23 merged commit 47bba42 into duxlabs-dev:master Nov 28, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Go daemon and CLI under core/ fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants