[i3wm] Auto assign workspace on second external display

This commit is contained in:
dbroqua 2020-10-24 08:05:17 +02:00
parent 64f17fe53e
commit 736ad417df

View file

@ -48,15 +48,18 @@ bindsym $mod+a focus parent
# #
set $wksp1 "1: Main" set $wksp1 "1: Main"
set $wksp2 "2: Works" set $wksp2 "2: Dev"
set $wksp3 "3: Social" set $wksp3 "3: Social"
set $wksp4 "4: Music" set $wksp4 "4: Music"
set $wksp5 "5: Graphics" set $wksp5 "5: Graphics"
set $wksp6 "6: Minecraft" set $wksp6 "6: Minecraft"
set $wksp7 "7: Remote" set $wksp7 "7: Remote"
set $wksp8 "8" set $wksp8 "8"
set $wksp9 "9" set $wksp9 "9: Databases"
set $wksp10 "10" set $wksp10 "10: External"
workspace $wksp9 output DP-2-2
workspace $wksp10 output DP-2-2
# switch to workspace # switch to workspace
bindsym $mod+1 workspace $wksp1 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+c reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "~/Bin/i3quit.sh" 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 # RESIZE MODE