diff --git a/dots/.config/sway/conf/bindings.conf b/dots/.config/sway/conf/bindings.conf index baac3cb0..bc1039b2 100644 --- a/dots/.config/sway/conf/bindings.conf +++ b/dots/.config/sway/conf/bindings.conf @@ -36,6 +36,28 @@ bindsym $mod+q kill bindsym { $mod+Ctrl+A workspace prev $mod+Ctrl+S workspace next + $mod+1 workspace number 1 + $mod+2 workspace number 2 + $mod+3 workspace number 3 + $mod+4 workspace number 4 + $mod+5 workspace number 5 + $mod+6 workspace number 6 + $mod+7 workspace number 7 + $mod+8 workspace number 8 + $mod+9 workspace number 9 +} + +# Send focused window to workspace +bindsym { + $mod+Shift+1 move container to workspace 1 + $mod+Shift+2 move container to workspace 2 + $mod+Shift+3 move container to workspace 3 + $mod+Shift+4 move container to workspace 4 + $mod+Shift+5 move container to workspace 5 + $mod+Shift+6 move container to workspace 6 + $mod+Shift+7 move container to workspace 7 + $mod+Shift+8 move container to workspace 8 + $mod+Shift+9 move container to workspace 9 } # Focus Windows @@ -79,16 +101,6 @@ mode $mode_move_window { } } -# Move focused window to workspace -set $mode_move_window_workspace "Move Window to Workspace" -mode $mode_move_window_workspace { - bindsym { - Right move window to workspace next - Left move window to workspace prev - Escape mode "default" - } -} - # Move focused workspace to monitor set $mode_move_workspace_monitor "Move Workspace Monitor" mode $mode_move_workspace_monitor { @@ -106,7 +118,6 @@ set $mode_move "Move" mode $mode_move { bindsym { m mode $mode_move_window - w mode $mode_move_window_workspace d mode $mode_move_workspace_monitor Escape mode "default" }