From 56edb9a849b36747512b6a91b6ed164a313d025a Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 5 Oct 2023 20:28:55 +0200 Subject: Set default monitors for i3 workspaces --- tw/home/files/i3.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tw/home/files/i3.conf') 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" -- cgit v1.2.3