1 # This file has been auto-generated by i3-config-wizard(1).
2 # It will not be overwritten, so edit it as you like.
3 #
4 # Should you change your keyboard layout some time, delete
5 # this file and re-run i3-config-wizard(1).
6 #
7
8 # i3 config file (v4)
9 #
10 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
11
12 gaps inner 25
13 gaps outer 10
14 new_window none
15
16 set $mod Mod4
17
18 bindsym XF86AudioRaiseVolume exec "amixer -q set Master 2dB+ unmute; notify-send 'Volume Up'"
19 bindsym XF86AudioLowerVolume exec "amixer -q set Master 2dB- unmute; notify-send 'Volume Down'"
20 bindsym XF86AudioMute exec "amixer -q set Master toggle; amixer -q set Speaker toggle"
21
22 bindsym XF86MonBrightnessUp exec "light -A 10; notify-send 'Brightness Up'"
23 bindsym XF86MonBrightnessDown exec "light -U 10; notify-send 'Brightness Down'"
24
25 # Font for window titles. Will also be used by the bar unless a different font
26 # is used in the bar {} block below.
27 font pango:monospace 8
28
29 # This font is widely installed, provides lots of unicode glyphs, right-to-left
30 # text rendering and scalability on retina/hidpi displays (thanks to pango).
31 #font pango:DejaVu Sans Mono 8
32
33 # Before i3 v4.8, we used to recommend this one as the default:
34 # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
35 # The font above is very space-efficient, that is, it looks good, sharp and
36 # clear in small sizes. However, its unicode glyph coverage is limited, the old
37 # X core fonts rendering does not support right-to-left and this being a bitmap
38 # font, it doesn’t scale on retina/hidpi displays.
39
40 # Use Mouse+$mod to drag floating windows to their wanted position
41 floating_modifier $mod
42
43 # start a terminal
44 #bindsym $mod+Return exec i3-sensible-terminal
45 bindsym $mod+Return exec urxvt
46
47 # kill focused window
48 bindsym $mod+Shift+q kill
49
50 # "Minimize windows"
51 bindsym $mod+Shift+minus move scratchpad
52 bindsym $mod+minus scratchpad show
53
54 # start dmenu (a program launcher)
55 #bindsym $mod+d exec dmenu_run
56 # There also is the (new) i3-dmenu-desktop which only displays applications
57 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
58 # installed.
59 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
60
61 # change focus
62 bindsym $mod+j focus left
63 bindsym $mod+k focus down
64 bindsym $mod+l focus up
65 bindsym $mod+semicolon focus right
66
67 # alternatively, you can use the cursor keys:
68 bindsym $mod+Left focus left
69 bindsym $mod+Down focus down
70 bindsym $mod+Up focus up
71 bindsym $mod+Right focus right
72
73 # move focused window
74 bindsym $mod+Shift+j move left
75 bindsym $mod+Shift+k move down
76 bindsym $mod+Shift+l move up
77 bindsym $mod+Shift+semicolon move right
78
79 # alternatively, you can use the cursor keys:
80 bindsym $mod+Shift+Left move left
81 bindsym $mod+Shift+Down move down
82 bindsym $mod+Shift+Up move up
83 bindsym $mod+Shift+Right move right
84
85 # split in horizontal orientation
86 bindsym $mod+h split h
87
88 # split in vertical orientation
89 bindsym $mod+v split v
90
91 # enter fullscreen mode for the focused container
92 bindsym $mod+f fullscreen toggle
93
94 # change container layout (stacked, tabbed, toggle split)
95 bindsym $mod+s layout stacking
96 bindsym $mod+w layout tabbed
97 bindsym $mod+e layout toggle split
98
99 # toggle tiling / floating
100 bindsym $mod+Shift+space floating toggle
101
102 # change focus between tiling / floating windows
103 bindsym $mod+space focus mode_toggle
104
105 # focus the parent container
106 bindsym $mod+a focus parent
107
108 # focus the child container
109 #bindsym $mod+d focus child
110
111 # switch to workspace
112 bindsym $mod+1 workspace 1
113 bindsym $mod+2 workspace 2
114 bindsym $mod+3 workspace 3
115 bindsym $mod+4 workspace 4
116 bindsym $mod+5 workspace 5
117 bindsym $mod+6 workspace 6
118 bindsym $mod+7 workspace 7
119 bindsym $mod+8 workspace 8
120 bindsym $mod+9 workspace 9
121 bindsym $mod+0 workspace 10
122
123 # move focused container to workspace
124 bindsym $mod+Shift+1 move container to workspace 1
125 bindsym $mod+Shift+2 move container to workspace 2
126 bindsym $mod+Shift+3 move container to workspace 3
127 bindsym $mod+Shift+4 move container to workspace 4
128 bindsym $mod+Shift+5 move container to workspace 5
129 bindsym $mod+Shift+6 move container to workspace 6
130 bindsym $mod+Shift+7 move container to workspace 7
131 bindsym $mod+Shift+8 move container to workspace 8
132 bindsym $mod+Shift+9 move container to workspace 9
133 bindsym $mod+Shift+0 move container to workspace 10
134
135 # reload the configuration file
136 bindsym $mod+Shift+c reload
137 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
138 bindsym $mod+Shift+r restart
139 # exit i3 (logs you out of your X session)
140 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
141
142 # resize window (you can also use the mouse for that)
143 mode "resize" {
144 # These bindings trigger as soon as you enter the resize mode
145
146 # Pressing left will shrink the window’s width.
147 # Pressing right will grow the window’s width.
148 # Pressing up will shrink the window’s height.
149 # Pressing down will grow the window’s height.
150 bindsym j resize shrink width 10 px or 10 ppt
151 bindsym k resize grow height 10 px or 10 ppt
152 bindsym l resize shrink height 10 px or 10 ppt
153 bindsym semicolon resize grow width 10 px or 10 ppt
154
155 # same bindings, but for the arrow keys
156 bindsym Left resize shrink width 10 px or 10 ppt
157 bindsym Down resize grow height 10 px or 10 ppt
158 bindsym Up resize shrink height 10 px or 10 ppt
159 bindsym Right resize grow width 10 px or 10 ppt
160
161 # back to normal: Enter or Escape
162 bindsym Return mode "default"
163 bindsym Escape mode "default"
164 }
165
166 bindsym $mod+r mode "resize"
167
168 # Start i3bar to display a workspace bar (plus the system information i3status
169 # finds out, if available)
170 bar {
171 status_command i3status
172 #status_command exec /home/swatson/.config/i3/scripts/bar.sh
173 colors {
174 background #001014
175 statusline #1da049
176 }
177 }