Adjust Sway's mpv handling for connected tv

This commit is contained in:
Trysdyn Black 2022-05-28 06:22:42 -07:00
parent 01a68c651c
commit 1491f0358b

View file

@ -199,12 +199,12 @@ hide_edge_borders both
workspace_auto_back_and_forth yes
# Make windows created with a special floating class float
# For the moment I'm expressing directives for both i3 and sway here; i3 may fail on these
for_window [app_id=".*__user_requests_float"] floating enable, border pixel 1, resize set 800 600
# Make floating mpv specifically go in the corner, pin, and not steal focus
for_window [app_id="mpv__user_requests_float"] sticky enable, resize set 640 360, move position 1280 20
no_focus [app_id="mpv__user_requests_float"]
# Make mpv earmarked for the TV go to fullscreen workspace 9 and not steal focus
for_window [app_id="mpv__tv"] fullscreen enable
assign [app_id="mpv__tv"] workspace number 9
no_focus [app_id="mpv__tv"]
# Set mouse acceleration to 0 in Sway
input * {