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: { onDoubleClicked: {
fired = true fired = true
// True fullscreen toggle (mode 0 = whole display, over bar // "App mode": fullscreen mode 1 = maximize gaps and window
// and gaps). Mode 1 (maximize) reads as a no-op on a phone // chrome gone, but the qs bar and pill keep their layer
// where the lone tiled window already fills the workspace. // 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 // No-op with nothing focused. Lua-fork dispatcher syntax
// classic "fullscreen 0" errors out on this build. // classic "fullscreen 1" errors out on this build.
Quickshell.execDetached(["hyprctl", "dispatch", "hl.dsp.window.fullscreen({ mode = 0 })"]) Quickshell.execDetached(["hyprctl", "dispatch", "hl.dsp.window.fullscreen({ mode = 1 })"])
} }
} }
} }