Only workspace 10 is moved to eDP1. All others are moved to external connected interface.
This commit is contained in:
@@ -40,10 +40,10 @@ if (interfacesOn.length > 1) {
|
||||
}
|
||||
|
||||
val workspaceInterface = interfacesOn.filterNot(_.equalsIgnoreCase("eDP1")).headOption.getOrElse("eDP1")
|
||||
println(s"Moving workspace 9-10 to eDP1")
|
||||
(9 to 10).foreach(moveWorkspace(_, "eDP1"))
|
||||
println(s"Moving workspaces 1-8 to $workspaceInterface")
|
||||
(1 to 8).foreach(moveWorkspace(_, workspaceInterface))
|
||||
println(s"Moving workspace 10 to eDP1")
|
||||
moveWorkspace(10, "eDP1")
|
||||
println(s"Moving workspaces 1-9 to $workspaceInterface")
|
||||
(1 to 9).foreach(moveWorkspace(_, workspaceInterface))
|
||||
|
||||
Seq("i3-msg", "workspace number 1").!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user