i3: Move close/split/vsplit out of space mode
This commit is contained in:
@@ -310,6 +310,9 @@ apps = [
|
|||||||
|
|
||||||
bindings = [
|
bindings = [
|
||||||
Exec("Terminal", key="$mod+Return", command="kitty --single-instance"),
|
Exec("Terminal", key="$mod+Return", command="kitty --single-instance"),
|
||||||
|
Command("Close Window", key="$mod+q", command="kill"),
|
||||||
|
Command("split", key="$mod+s", command="split h"),
|
||||||
|
Command("vertical split", key="$mod+v", command="split v"),
|
||||||
Command("next workspace", key="$mod+Tab", command="workspace next_on_output"),
|
Command("next workspace", key="$mod+Tab", command="workspace next_on_output"),
|
||||||
Command("prev workspace", key="$mod+Shift+Tab", command="workspace prev_on_output"),
|
Command("prev workspace", key="$mod+Shift+Tab", command="workspace prev_on_output"),
|
||||||
# Volume control
|
# Volume control
|
||||||
@@ -364,8 +367,6 @@ bindings = [
|
|||||||
Command("delete", command="kill"),
|
Command("delete", command="kill"),
|
||||||
Command("fullscreen", command="fullscreen toggle"),
|
Command("fullscreen", command="fullscreen toggle"),
|
||||||
Command("float", key="o", command="floating toggle"),
|
Command("float", key="o", command="floating toggle"),
|
||||||
Command("split", command="split h"),
|
|
||||||
Command("vertical split", key="v", command="split v"),
|
|
||||||
Command("parent", command="focus parent", exit_mode=False),
|
Command("parent", command="focus parent", exit_mode=False),
|
||||||
Mode(
|
Mode(
|
||||||
"move",
|
"move",
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ exec --no-startup-id xrandr\
|
|||||||
--output HDMI-0 --pos 5120x0 --mode 2560x1440 --rate 60
|
--output HDMI-0 --pos 5120x0 --mode 2560x1440 --rate 60
|
||||||
|
|
||||||
bindsym $mod+Return exec --no-startup-id kitty --single-instance
|
bindsym $mod+Return exec --no-startup-id kitty --single-instance
|
||||||
|
bindsym $mod+q kill
|
||||||
|
bindsym $mod+s split h
|
||||||
|
bindsym $mod+v split v
|
||||||
bindsym $mod+Tab workspace next_on_output
|
bindsym $mod+Tab workspace next_on_output
|
||||||
bindsym $mod+Shift+Tab workspace prev_on_output
|
bindsym $mod+Shift+Tab workspace prev_on_output
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%
|
||||||
@@ -77,13 +80,11 @@ mode --pango_markup "$mode_space_workspace_move" {
|
|||||||
bindsym control+bracketleft mode "default"
|
bindsym control+bracketleft mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
set $mode_space_window [window]: <b>d</b>elete, <b>f</b>ullscreen, fl<b>o</b>at, <b>s</b>plit, <b>v</b>ertical split, <b>p</b>arent, <b>m</b>ove, <b>r</b>esize, <b>l</b>ayout
|
set $mode_space_window [window]: <b>d</b>elete, <b>f</b>ullscreen, fl<b>o</b>at, <b>p</b>arent, <b>m</b>ove, <b>r</b>esize, <b>l</b>ayout
|
||||||
mode --pango_markup "$mode_space_window" {
|
mode --pango_markup "$mode_space_window" {
|
||||||
bindsym d kill, mode "default"
|
bindsym d kill, mode "default"
|
||||||
bindsym f fullscreen toggle, mode "default"
|
bindsym f fullscreen toggle, mode "default"
|
||||||
bindsym o floating toggle, mode "default"
|
bindsym o floating toggle, mode "default"
|
||||||
bindsym s split h, mode "default"
|
|
||||||
bindsym v split v, mode "default"
|
|
||||||
bindsym p focus parent
|
bindsym p focus parent
|
||||||
bindsym m mode "$mode_space_window_move"
|
bindsym m mode "$mode_space_window_move"
|
||||||
bindsym r mode "$mode_space_window_resize"
|
bindsym r mode "$mode_space_window_resize"
|
||||||
|
|||||||
Reference in New Issue
Block a user