Skip to content

Add Super + Ctrl + Alt + F to toggle a full screen desktop - #10672

Merged
dhh merged 1 commit into
quattrofrom
full-screen-toggle
Sep 7, 2026
Merged

dhh merged 1 commit into
quattrofrom
full-screen-toggle

Conversation

@dhh

@dhh dhh commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Hiding the top bar and removing the window gaps are the two things you do to give the screen entirely to your windows, and doing both took two hotkeys. Super + Ctrl + Alt + F does them together, and omarchy toggle fullscreen desktop picks it up from the CLI.

bin/omarchy-toggle-fullscreen-desktop composes the two toggles that already exist — omarchy-toggle-bar (the bar-off flag, Super + Shift + Space) and omarchy-hyprland-toggle window-no-gaps (Super + Shift + Backspace) — so there's no new state to keep in sync.

The one judgment call is what a press means when the two halves disagree. It only leaves full screen when both are already in it, so pressing it with just the bar hidden pulls the gaps into line instead of flipping the bar back on. It takes on/off too.

The binding sits in utilities.lua next to the two toggles it combines, and the key was free — the F family already has F (full screen), Ctrl + F (tiled), and Alt + F (full width). The description says "full screen desktop" to keep it distinct from Super + F's per-window "Full screen" in the keybindings list.

Testing

Five cases in test/shell.d/toggle-test.sh, covering both halves moving together, the half-hidden case, and explicit on/off. The test stubs hyprctl and pins OMARCHY_PATH to the checkout so it passes with no compositor. Also toggled in and back out on a live session.

Not included

A Toggle menu entry ("trigger.toggle.fullscreen-desktop"). Every other omarchy toggle has one, but the menu is already crowded — happy to add it if you want it there.

🤖 Generated with Claude Code

@dhh
dhh requested a review from ryanrhughes as a code owner September 7, 2026 17:26
Hiding the top bar and removing the window gaps are the two things you
do to give the screen entirely to your windows, and doing both took two
hands and two hotkeys. `omarchy toggle fullscreen desktop` does them
together.

It only leaves full screen when both halves are in it, so hitting the
hotkey with just the bar hidden (or just the gaps gone) pulls the other
half into line instead of flipping the one you already set.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01JB9phxP56gnP7qSidkkUJE
@vdsabev

vdsabev commented Sep 9, 2026

Copy link
Copy Markdown

Nice addition for those who want some extra space!

I've had something similar (and automatic) in my config for about a year now (well, only rewrote it to Lua recently):

-- Strip gaps, border and rounding when a workspace holds a single tiled window.
hl.workspace_rule({ workspace = "w[tv1]", gaps_out = 0 })
o.window({ float = false, workspace = "w[tv1]" }, { border_size = 0, rounding = 0 })
1 window 2+ windows
image image

Is this something that could be a useful config option, or even a default?

sogamoso added a commit to sogamoso/dotfiles that referenced this pull request Oct 14, 2026
Omarchy's Super+Ctrl+Alt+F hides the top bar and drops the window gaps in one
step (omacom/omarchy#10672). fullscreen-desktop.sh does the same with
SketchyBar and AeroSpace. AeroSpace only reads gaps from its config, so the
toggle rewrites them in aerospace.toml and reloads.

The pin-aerospace-gap filter now pins every gap, not just outer.top, so those
edits never reach a commit, and sketchybarrc and sync_aerospace_gap.sh check
the toggle's state file so a bar reload, such as on a display change, stays
full screen.
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
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.

3 participants