From d43a3b16bace3a2b209231ca67b87de96c9610db Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 4 Aug 2021 14:03:29 +0530 Subject: [PATCH] sway: Add key mapping to move to previous & next workspace --- sway/.config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index c43896b..048fa2c 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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