.i3/config.d/20-binds

changeset 776
6982ec9ba7c3
parent 775
aa82db8862ab
child 820
9363e3a29dba
equal deleted inserted replaced
775:aa82db8862ab 776:6982ec9ba7c3
12 #bindsym $mod+d exec dmenu_run 12 #bindsym $mod+d exec dmenu_run
13 13
14 bindsym $mod+d exec --no-startup-id j4-dmenu-desktop --dmenu="dmenu -i -b -p ] -nf \#CCC -nb \#555 -fn 'Droid Sans-10'" 14 bindsym $mod+d exec --no-startup-id j4-dmenu-desktop --dmenu="dmenu -i -b -p ] -nf \#CCC -nb \#555 -fn 'Droid Sans-10'"
15 15
16 # change focus 16 # change focus
17 bindsym $mod+j focus left 17 bindsym $mod+h focus left
18 bindsym $mod+k focus down 18 bindsym $mod+j focus down
19 bindsym $mod+l focus up 19 bindsym $mod+k focus up
20 bindsym $mod+semicolon focus right 20 bindsym $mod+l focus right
21 21
22 # alternatively, you can use the cursor keys: 22 # alternatively, you can use the cursor keys:
23 bindsym $mod+Left focus left 23 bindsym $mod+Left focus left
24 bindsym $mod+Down focus down 24 bindsym $mod+Down focus down
25 bindsym $mod+Up focus up 25 bindsym $mod+Up focus up
26 bindsym $mod+Right focus right 26 bindsym $mod+Right focus right
27 27
28 # move focused window 28 # move focused window
29 bindsym $mod+Shift+j move left 29 bindsym $mod+Shift+h move left
30 bindsym $mod+Shift+k move down 30 bindsym $mod+Shift+j move down
31 bindsym $mod+Shift+l move up 31 bindsym $mod+Shift+k move up
32 bindsym $mod+Shift+semicolon move right 32 bindsym $mod+Shift+l move right
33 33
34 # alternatively, you can use the cursor keys: 34 # alternatively, you can use the cursor keys:
35 bindsym $mod+Shift+Left move left 35 bindsym $mod+Shift+Left move left
36 bindsym $mod+Shift+Down move down 36 bindsym $mod+Shift+Down move down
37 bindsym $mod+Shift+Up move up 37 bindsym $mod+Shift+Up move up
38 bindsym $mod+Shift+Right move right 38 bindsym $mod+Shift+Right move right
39 39
40 # split in horizontal orientation 40 # split s - below, v - right
41 bindsym $mod+h split h 41 bindsym $mod+s split v
42 42 bindsym $mod+v split s
43 # split in vertical orientation
44 bindsym $mod+v split v
45 43
46 # enter fullscreen mode for the focused container 44 # enter fullscreen mode for the focused container
47 bindsym $mod+f fullscreen 45 bindsym $mod+f fullscreen
48 46
49 # change container layout (stacked, tabbed, toggle split) 47 # change container layout (stacked, tabbed, toggle split)
50 bindsym $mod+s layout stacking 48 #bindsym $mod+s layout stacking
51 bindsym $mod+w layout tabbed 49 bindsym $mod+w layout tabbed
52 bindsym $mod+e layout toggle split 50 bindsym $mod+e layout toggle split
53 51
54 # toggle tiling / floating 52 # toggle tiling / floating
55 bindsym $mod+Shift+space floating toggle 53 bindsym $mod+Shift+space floating toggle
106 104
107 # Pressing left will shrink the window’s width. 105 # Pressing left will shrink the window’s width.
108 # Pressing right will grow the window’s width. 106 # Pressing right will grow the window’s width.
109 # Pressing up will shrink the window’s height. 107 # Pressing up will shrink the window’s height.
110 # Pressing down will grow the window’s height. 108 # Pressing down will grow the window’s height.
111 bindsym j resize shrink width 10 px or 10 ppt 109 bindsym h resize shrink width 10 px or 10 ppt
112 bindsym k resize grow height 10 px or 10 ppt 110 bindsym j resize grow height 10 px or 10 ppt
113 bindsym l resize shrink height 10 px or 10 ppt 111 bindsym k resize shrink height 10 px or 10 ppt
114 bindsym semicolon resize grow width 10 px or 10 ppt 112 bindsym l resize grow width 10 px or 10 ppt
115 113
116 # same bindings, but for the arrow keys 114 # same bindings, but for the arrow keys
117 bindsym Left resize shrink width 10 px or 10 ppt 115 bindsym Left resize shrink width 10 px or 10 ppt
118 bindsym Down resize grow height 10 px or 10 ppt 116 bindsym Down resize grow height 10 px or 10 ppt
119 bindsym Up resize shrink height 10 px or 10 ppt 117 bindsym Up resize shrink height 10 px or 10 ppt

mercurial