change i3 keybindings
This commit is contained in:
parent
8ffd9be387
commit
41d9dc9c62
1 changed files with 6 additions and 11 deletions
|
@ -57,23 +57,19 @@ bindsym $mod+Shift+k move up
|
|||
bindsym $mod+Shift+l move right
|
||||
|
||||
# toggle split direction
|
||||
bindsym $mod+t split toggle
|
||||
bindsym $mod+v split toggle
|
||||
|
||||
bindsym $mod+Tab layout toggle splith splitv tabbed
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+space floating toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
|
@ -111,8 +107,6 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
|
|||
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
|
@ -154,13 +148,14 @@ mode "$mode_screen" {
|
|||
}
|
||||
|
||||
# Session options
|
||||
set $mode_session Session option: [l]ock [r]eboot [s]uspend [p]oweroff
|
||||
set $mode_session Session option: [l]ock [r]eboot [s]uspend [p]oweroff [e]xit
|
||||
bindsym $mod+Escape mode "$mode_session"
|
||||
mode "$mode_session" {
|
||||
bindsym l exec --no-startup-id "loginctl lock-session", mode "default"
|
||||
bindsym r exec --no-startup-id "systemctl reboot", mode "default"
|
||||
bindsym s exec --no-startup-id "systemctl suspend", mode "default"
|
||||
bindsym p exec --no-startup-id "systemctl poweroff", mode "default"
|
||||
bindsym e exec --no-startup-id "i3-msg exit", mode "default"
|
||||
|
||||
bindsym Escape mode "default"
|
||||
bindsym Return mode "default"
|
||||
|
|
Reference in a new issue