Watch
1
0
Fork
You've already forked souveraine
0

pill: double-tap is app-mode maximize, not kiosk fullscreen

This commit is contained in:
Fimeg 2026-07-12 10:10:38 -04:00
commit 2955cd4fbe

View file

@ -58,12 +58,15 @@ ShellRoot {
}
onDoubleClicked: {
fired = true
// True fullscreen toggle (mode 0 = whole display, over bar
// and gaps). Mode 1 (maximize) reads as a no-op on a phone
// where the lone tiled window already fills the workspace.
// "App mode": fullscreen mode 1 = maximize gaps and window
// chrome gone, but the qs bar and pill keep their layer
// space. Mode 0 (true fullscreen) covers even the Overlay
// layer on this build and strands you with no pill; app
// mode is the phone default, real fullscreen stays an
// app-side decision (videos etc).
// No-op with nothing focused. Lua-fork dispatcher syntax
// classic "fullscreen 0" errors out on this build.
Quickshell.execDetached(["hyprctl", "dispatch", "hl.dsp.window.fullscreen({ mode = 0 })"])
// classic "fullscreen 1" errors out on this build.
Quickshell.execDetached(["hyprctl", "dispatch", "hl.dsp.window.fullscreen({ mode = 1 })"])
}
}
}