diff --git a/bin/swws.py b/bin/swws.py index 9fe0a55..57f7c65 100755 --- a/bin/swws.py +++ b/bin/swws.py @@ -54,3 +54,15 @@ for i in range(len(msg)): else: mon_type = "HDMI-A-1" wssw(mon_type) + if msg[i]["output"] == "DP-2": + if not a: + subprocess.run(["swaymsg", "workspace", ws10]) + else: + mon_type = "DP-2" + wssw(mon_type) + if msg[i]["output"] == "DP-3": + if not a: + subprocess.run(["swaymsg", "workspace", ws10]) + else: + mon_type = "DP-3" + wssw(mon_type)