stowified the repo
[dotfiles.git] / x / .config / i3 / config
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 set $mod Mod4
13
14 # lock the screen after 10 minutes
15 exec xautolock -locker 'sudo -K; echo RELOADAGENT | gpg-connect-agent; i3lock -c ccff00'
16 # set a background
17 exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root
18 # set the backlight
19 exec xbacklight -set 50
20 # set the network switcher
21 exec netctltray
22
23 # lock the screen
24 bindsym $mod+l exec xautolock -locknow
25
26 # put a password in the clipboard
27 bindsym $mod+p exec passmenu
28
29 # font for window titles.
30 font pango:DejaVu Sans Mono 8
31
32 # use Mouse+$mod to drag floating windows to their wanted position
33 floating_modifier $mod
34 hide_edge_borders none
35
36 # start a terminal
37 bindsym $mod+Return exec i3-sensible-terminal
38
39 # kill focused window
40 bindsym $mod+Shift+quotedbl kill
41
42 # start dmenu
43 bindsym $mod+e exec dmenu_run -i -f -fn 'xft:DejaVu Sans Mono:style=Book:pixelsize=12'
44
45 # change focus
46 bindsym $mod+h focus left
47 bindsym $mod+t focus down
48 bindsym $mod+n focus up
49 bindsym $mod+s focus right
50
51 # alternatively, you can use the cursor keys:
52 bindsym $mod+Left exec xbacklight -dec 5
53 bindsym $mod+Down exec amixer set Master 5- && kill -n 10 `pidof i3status`
54 bindsym $mod+Up exec amixer set Master 5+ && kill -n 10 `pidof i3status`
55 bindsym $mod+Right exec xbacklight -inc 5
56
57 # move focused window
58 bindsym $mod+Shift+h move left
59 bindsym $mod+Shift+t move down
60 bindsym $mod+Shift+n move up
61 bindsym $mod+Shift+s move right
62
63 # split in horizontal orientation
64 bindsym $mod+d split h
65
66 # split in vertical orientation
67 bindsym $mod+k split v
68
69 # enter fullscreen mode for the focused container
70 bindsym $mod+u fullscreen
71
72 # change container layout (stacked, tabbed, toggle split)
73 bindsym $mod+o layout stacking
74 bindsym $mod+comma layout tabbed
75 bindsym $mod+period layout toggle split
76
77 # toggle tiling / floating
78 bindsym $mod+Shift+space floating toggle
79
80 # change focus between tiling / floating windows
81 bindsym $mod+space focus mode_toggle
82
83 # focus the parent container
84 bindsym $mod+a focus parent
85
86 # focus the child container
87 #bindsym $mod+d focus child
88
89 # switch to workspace
90 bindsym $mod+1 workspace 1
91 bindsym $mod+2 workspace 2
92 bindsym $mod+3 workspace 3
93 bindsym $mod+4 workspace 4
94 bindsym $mod+5 workspace 5
95 bindsym $mod+6 workspace 6
96 bindsym $mod+7 workspace 7
97 bindsym $mod+8 workspace 8
98 bindsym $mod+9 workspace 9
99 bindsym $mod+0 workspace 10
100
101 # move focused container to workspace
102 bindsym $mod+Shift+1 move container to workspace 1
103 bindsym $mod+Shift+2 move container to workspace 2
104 bindsym $mod+Shift+3 move container to workspace 3
105 bindsym $mod+Shift+4 move container to workspace 4
106 bindsym $mod+Shift+5 move container to workspace 5
107 bindsym $mod+Shift+6 move container to workspace 6
108 bindsym $mod+Shift+7 move container to workspace 7
109 bindsym $mod+Shift+8 move container to workspace 8
110 bindsym $mod+Shift+9 move container to workspace 9
111 bindsym $mod+Shift+0 move container to workspace 10
112
113 # reload the configuration file
114 bindsym $mod+Shift+j reload
115 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
116 bindsym $mod+Shift+p restart
117 # exit i3 (logs you out of your X session)
118 bindsym $mod+Shift+period exec i3-msg exit
119
120 # resize window (you can also use the mouse for that)
121 #mode "resize" {
122 # # These bindings trigger as soon as you enter the resize mode
123 #
124 # # Pressing left will shrink the window’s width.
125 # # Pressing right will grow the window’s width.
126 # # Pressing up will shrink the window’s height.
127 # # Pressing down will grow the window’s height.
128 # bindsym h resize shrink width 10 px or 10 ppt
129 # bindsym t resize grow height 10 px or 10 ppt
130 # bindsym n resize shrink height 10 px or 10 ppt
131 # bindsym s resize grow width 10 px or 10 ppt
132 #
133 # # same bindings, but for the arrow keys
134 # bindsym Left resize shrink width 10 px or 10 ppt
135 # bindsym Down resize grow height 10 px or 10 ppt
136 # bindsym Up resize shrink height 10 px or 10 ppt
137 # bindsym Right resize grow width 10 px or 10 ppt
138 #
139 # # back to normal: Enter or Escape
140 # bindsym Return mode "default"
141 # bindsym Escape mode "default"
142 #}
143 #
144 #bindsym $mod+p mode "resize"
145
146 # Start i3bar to display a workspace bar (plus the system information i3status
147 # finds out, if available)
148 bar {
149 status_command i3status
150 mode hide
151 modifier $mod
152 font pango:DejaVu Sans Mono 14
153 }