sway: Add key mapping to move to previous & next workspace

This commit is contained in:
Sanchayan Maity 2021-08-04 14:03:29 +05:30
parent 88ed57fb8b
commit d43a3b16ba
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,8 @@ set $left h
set $down j
set $up k
set $right l
set $prev bracketleft
set $next bracketright
# Your preferred terminal emulator
set $term kitty
# Your preferred application launcher
@ -153,6 +155,8 @@ input "type:keyboard" {
#
# Workspaces:
#
bindsym $mod+$prev workspace prev
bindsym $mod+$next workspace next
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2