From 1491f0358b0793b4c49c843e18d00e2e29462ed5 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Sat, 28 May 2022 06:22:42 -0700 Subject: [PATCH] Adjust Sway's mpv handling for connected tv --- .config/sway/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index e4999ef..3d36ce4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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 * {