From 8c4aa7a8f454d2a40cc7bad3a123e073b81dab71 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 8 Dec 2021 12:58:02 -0500 Subject: [PATCH] sway: switch workspaces using numpad --- sway/.config/sway/config | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 3c0208d..b11996e 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -122,6 +122,17 @@ set $wallpaper /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 bindsym $mod+0 workspace number 10 + # Same thing, for numpad + bindsym $mod+KP_1 workspace number 1 + bindsym $mod+KP_2 workspace number 2 + bindsym $mod+KP_3 workspace number 3 + bindsym $mod+KP_4 workspace number 4 + bindsym $mod+KP_5 workspace number 5 + bindsym $mod+KP_6 workspace number 6 + bindsym $mod+KP_7 workspace number 7 + bindsym $mod+KP_8 workspace number 8 + bindsym $mod+KP_9 workspace number 9 + bindsym $mod+KP_0 workspace number 10 # Move focused container to workspace bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2 @@ -133,6 +144,17 @@ set $wallpaper /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+0 move container to workspace number 10 + # Same thing, for numpad + bindsym $mod+Shift+KP_1 move container to workspace number 1 + bindsym $mod+Shift+KP_2 move container to workspace number 2 + bindsym $mod+Shift+KP_3 move container to workspace number 3 + bindsym $mod+Shift+KP_4 move container to workspace number 4 + bindsym $mod+Shift+KP_5 move container to workspace number 5 + bindsym $mod+Shift+KP_6 move container to workspace number 6 + bindsym $mod+Shift+KP_7 move container to workspace number 7 + bindsym $mod+Shift+KP_8 move container to workspace number 8 + bindsym $mod+Shift+KP_9 move container to workspace number 9 + bindsym $mod+Shift+KP_0 move container to workspace number 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. #