From 736ad417df6ced594443765c148696c88c4a9f1c Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sat, 24 Oct 2020 08:05:17 +0200 Subject: [PATCH] [i3wm] Auto assign workspace on second external display --- config/i3/config | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/config/i3/config b/config/i3/config index 6d30420..e6e668a 100644 --- a/config/i3/config +++ b/config/i3/config @@ -48,15 +48,18 @@ bindsym $mod+a focus parent # set $wksp1 "1: Main" -set $wksp2 "2: Works" +set $wksp2 "2: Dev" set $wksp3 "3: Social" set $wksp4 "4: Music" set $wksp5 "5: Graphics" set $wksp6 "6: Minecraft" set $wksp7 "7: Remote" set $wksp8 "8" -set $wksp9 "9" -set $wksp10 "10" +set $wksp9 "9: Databases" +set $wksp10 "10: External" + +workspace $wksp9 output DP-2-2 +workspace $wksp10 output DP-2-2 # switch to workspace bindsym $mod+1 workspace $wksp1 @@ -95,11 +98,6 @@ bindsym Mod1+Shift+Control+d move container to workspace next bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart bindsym $mod+Shift+e exec "~/Bin/i3quit.sh" -#bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \ -# -b 'Exit' 'i3-msg exit' \ -# -b 'Suspend' 'sudo s2ram -f -a 1' \ -# -b 'Reboot' 'systemctl reboot' \ -# -b 'Halt' 'systemctl poweroff'" # ------------------------------------------------------------------------------------------------- # RESIZE MODE