sway: Fix gst-play outputs to workspace 4

Use the command to figure out
swaymsg -t get_tree | jq | nvim -R

gst-play does not seem to get an app_id so relying on the title for the
same.
This commit is contained in:
Sanchayan Maity 2021-12-24 11:09:45 +05:30
parent dc00cca6ca
commit 22e727b859

View file

@ -266,6 +266,7 @@ for_window [title="Firefox — Sharing Indicator"] floating enable
for_window [title="Firefox — Sharing Indicator"] no_focus
for_window [app_id="gst-launch-1.0"] floating enable, resize set width 1920 px height 1080px
assign [app_id="gst-launch-1.0"] 4
assign [title="gst-play-1.0"] 4
# Call kanshi to automatically configure connected display outputs
# exec kanshi