bind to workspace

This commit is contained in:
cho 2023-05-06 13:42:40 +07:00
parent c896b4f65e
commit 7e1e4b0a99

View File

@ -1,7 +1,27 @@
profile {
output HDMI-A-1 scale 1 mode 1366x768 position 0,0
output DVI-D-1 scale 1 mode 1280x1024 position 1366,0
exec swaymsg workspace 1, move workspace to HDMI-A-1
exec swaymsg workspace 2, move workspace to HDMI-A-1
exec swaymsg workspace 3, move workspace to HDMI-A-1
exec swaymsg workspace 4, move workspace to HDMI-A-1
exec swaymsg workspace 5, move workspace to HDMI-A-1
exec swaymsg workspace 6, move workspace to DVI-D-1
exec swaymsg workspace 7, move workspace to DVI-D-1
exec swaymsg workspace 8, move workspace to DVI-D-1
exec swaymsg workspace 9, move workspace to DVI-D-1
exec swaymsg workspace 10, move workspace to DVI-D-1
}
profile {
output HDMI-A-1 scale 1 mode 1366x768
exec swaymsg workspace 1, move workspace to HDMI-A-1
exec swaymsg workspace 2, move workspace to HDMI-A-1
exec swaymsg workspace 3, move workspace to HDMI-A-1
exec swaymsg workspace 4, move workspace to HDMI-A-1
exec swaymsg workspace 5, move workspace to HDMI-A-1
exec swaymsg workspace 6, move workspace to HDMI-A-1
exec swaymsg workspace 7, move workspace to HDMI-A-1
exec swaymsg workspace 8, move workspace to HDMI-A-1
exec swaymsg workspace 9, move workspace to HDMI-A-1
exec swaymsg workspace 10, move workspace to HDMI-A-1
}