doc: sway: consider how to auto-fullscreen mpv on external display

This commit is contained in:
2024-03-08 09:31:08 +00:00
parent 39411164af
commit 3282b40e9b

View File

@@ -167,6 +167,16 @@ for_window [app_id="deadd-notification-center"] {
for_window [app_id="mpv"] {
move to output "LG Electronics LG TV 0x01010101"
# TODO: auto-fullscreen ONLY if rendering to an external display.
# otherwise, hijacking fullscreen when i launch youtube videos, podcasts, etc, is not great.
# options:
# 1. fake fullscreen by just not rendering the waybar on external displays, but then i wouldn't know which workspace to put stuff on...
# 2.
# - assign workspace 10 to external outputs
# - then `move to output ...` will put the app onto workspace 10 *only* if the output is connected
# - then add `workspace 10` as a `for_window` condition for the fullscreen.
# could generalize this part to *any* app_id.
# fullscreen enable
}
for_window [app_id="Celeste64"] {
# this only works if Celeste doesn't itself request fullscreen (else, random chance of which display it gets).