From fbca43f9a3bd62843335c00ed1f2f2afcd763f11 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 5 Oct 2023 23:25:59 +0200 Subject: Fix work screen layout and improve startup layout --- tw/home/files/i3.conf | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) (limited to 'tw/home/files') diff --git a/tw/home/files/i3.conf b/tw/home/files/i3.conf index d8ec75e8..6c8d1f88 100644 --- a/tw/home/files/i3.conf +++ b/tw/home/files/i3.conf @@ -190,22 +190,23 @@ 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 +# work desktop: DP-1-8 is on the left, DP-2 is the wide screen on the right. +# The first workspaces listed for each output will be active at startup. +workspace 1 output HDMI-1-1 DP-1-8 +workspace "$ws_messaging" output eDP-1 DP-2 +workspace 2 output HDMI-1-1 DP-1-8 +workspace 3 output HDMI-1-1 DP-1-8 +workspace 4 output HDMI-1-1 DP-1-8 +workspace 5 output HDMI-1-1 DP-1-8 +workspace 6 output eDP-1 DP-2 +workspace 7 output eDP-1 DP-2 +workspace 8 output eDP-1 DP-2 +workspace 9 output eDP-1 DP-2 +workspace 10 output eDP-1 DP-2 +workspace "$ws_terminal" output eDP-1 DP-1-8 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" @@ -239,10 +240,13 @@ for_window [title="Desktop — Plasma"] move scratchpad # setting notifications to appear in the top-left corner gets placement right. no_focus [class="plasmashell" window_type="notification"] -for_window [class="^Pyneedle$"] floating enable -for_window [instance="^emacs-initial$"] floating enable -for_window [class="^Spotify$"] move container to workspace "$ws_music" -for_window [class="^Pidgin$"] move container to workspace "$ws_messaging" +for_window [class="^Pyneedle$"] floating enable +for_window [instance="^emacs-initial$"] floating enable +for_window [class="^Spotify$"] move container to workspace "$ws_music" +for_window [class="^Pidgin$"] move container to workspace "$ws_messaging" +for_window [class="^kitty$" title="^aerc$"] move container to workspace "$ws_messaging" +# annoying pop-up from Bluetooth network manager +for_window [class="^.blueman-applet-real$"] kill # }}} # Modes {{{ -- cgit v1.2.3