summaryrefslogtreecommitdiff
path: root/tw/home/files
diff options
context:
space:
mode:
authorTimo Wilken2023-10-05 20:28:55 +0200
committerTimo Wilken2023-10-05 20:28:55 +0200
commit56edb9a849b36747512b6a91b6ed164a313d025a (patch)
tree0103233c458efa7c1d28333740af7236afa5a440 /tw/home/files
parent442a2cfadbeef3d0105a45f084b4afefc6501b71 (diff)
Set default monitors for i3 workspaces
Diffstat (limited to 'tw/home/files')
-rw-r--r--tw/home/files/i3.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/tw/home/files/i3.conf b/tw/home/files/i3.conf
index bac885a2..d8ec75e8 100644
--- a/tw/home/files/i3.conf
+++ b/tw/home/files/i3.conf
@@ -188,6 +188,25 @@ set $ws_messaging 90:💬
bindsym $mod+m workspace "$ws_messaging"
bindsym $mod+shift+m move container to workspace "$ws_messaging"
+# set default screens for workspaces
+# laptop: eDP-1 is the laptop screen, HDMI-1-1 is the external screen.
+# work desktop: DP-1-8 is on the right, DP-2 is the wide screen on the left.
+workspace 1 output HDMI-1-1 DP-2
+workspace 2 output HDMI-1-1 DP-2
+workspace 3 output HDMI-1-1 DP-2
+workspace 4 output HDMI-1-1 DP-2
+workspace 5 output HDMI-1-1 DP-2
+workspace 6 output eDP-1 DP-1-8
+workspace 7 output eDP-1 DP-1-8
+workspace 8 output eDP-1 DP-1-8
+workspace 9 output eDP-1 DP-1-8
+workspace 10 output eDP-1 DP-1-8
+workspace "$ws_terminal" output eDP-1 DP-2
+workspace "$ws_coding" output HDMI-1-1 DP-2
+workspace "$ws_games" output HDMI-1-1 DP-1-8
+workspace "$ws_music" output eDP-1 DP-1-8
+workspace "$ws_messaging" output eDP-1 DP-2
+
assign [class="^Franz$"] "$ws_messaging"
assign [window_role="^weechat$"] "$ws_messaging"
assign [window_role="^mutt$"] "$ws_messaging"