pill: double-tap is app-mode maximize, not kiosk fullscreen
This commit is contained in:
parent
d38bae0cb6
commit
2955cd4fbe
1 changed files with 8 additions and 5 deletions
|
|
@ -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 })"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue