bindsym $mod+Shift+y move container to workspace $ws01
bindsym $mod+Shift+u move container to workspace $ws02
bindsym $mod+Shift+i move container to workspace $ws03
bindsym $mod+Shift+o move container to workspace $ws04
bindsym $mod+Shift+p move container to workspace $ws05
# Manage other workspaces
mode "eDP-1-1" {
# switch to workspace
bindsym y workspace $ws11
bindsym u workspace $ws12
bindsym i workspace $ws13
bindsym o workspace $ws14
bindsym p workspace $ws15
# move focused container to workspace
bindsym Shift+y move container to workspace $ws11
bindsym Shift+u move container to workspace $ws12
bindsym Shift+i move container to workspace $ws13
bindsym Shift+o move container to workspace $ws14
bindsym Shift+p move container to workspace $ws15
# Go to HDMI-0 mode
bindsym e mode "HDMI-0"
# Go back to normal mode
bindsym Escape mode "default"
}
mode "HDMI-0" {
# switch to workspace
bindsym y workspace $ws21
bindsym u workspace $ws22
bindsym i workspace $ws23
bindsym o workspace $ws24
bindsym p workspace $ws25
# move focused container to workspace
bindsym Shift+y move container to workspace $ws21
bindsym Shift+u move container to workspace $ws22
bindsym Shift+i move container to workspace $ws23
bindsym Shift+o move container to workspace $ws24
bindsym Shift+p move container to workspace $ws25
# Go to eDP-1-1 mode
bindsym e mode "eDP-1-1"
# Go back to normal mode
bindsym Escape mode "default"
}
bindsym $mod+e mode "eDP-1-1"
# Configuration mode
mode "config" {
# Switch split mode
bindsym j split vertical; mode "default"
bindsym h split horizontal; mode "default"
bindsym k split vertical; mode "default"
bindsym l split horizontal; mode "default"
# Switch layout
bindsym y layout stacking; mode "default"
bindsym u layout tabbed; mode "default"
bindsym i layout toggle split; mode "default"
# Go back to normal mode
bindsym Escape mode "default"
}
bindsym $mod+s mode "config"
# Assign certain programs to workspaces
# for_window [class=Xfce4-terminal] focus
# assign [class="(?i)firefox"] $ws02
# for_window [class=(?i)firefox] focus
# assign [class="Thunar"] $ws03
# for_window [class=Thunar] focus
# assign [class="Thunderbird"] $ws04
# for_window [class=Thunderbird] focus
# assign [class="TelegramDesktop"] $ws05
# for_window [class=TelegramDesktop] focus
# =====OTHER KEYBINDINGS=====
# reload the configuration file
bindsym $mod+Shift+c reload
# Restart i3 in-place
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"