muttrc with gpg agent
[dotfiles.git] / 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 somewhen, 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 exec xautolock -time 15 -locker 'bash -c "i3lock -i <(import -window root - | convert - -blur 10x2 png:-)"'
12 exec xrdb ~/.Xresources
13
14 set $mod Mod4
15
16 # font for window titles. ISO 10646 = Unicode
17 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
18
19 # Use Mouse+$mod to drag floating windows to their wanted position
20 floating_modifier $mod
21
22 # music controls
23 bindsym XF86AudioPlay exec mpc toggle >> /dev/null
24 bindsym XF86AudioStop exec mpc stop >> /dev/null
25 bindsym XF86AudioPrev exec mpc prev >> /dev/null
26 bindsym XF86AudioNext exec mpc next >> /dev/null
27
28 #bindsym Print exec scrot
29
30 # volume controls
31 bindsym XF86AudioRaiseVolume exec amixer set Master 5+ >> /dev/null
32 bindsym XF86AudioLowerVolume exec amixer set Master 5- >> /dev/null
33
34 # start a terminal
35 bindsym $mod+Return exec urxvt
36
37 # kill focused window
38 bindsym $mod+Shift+quotedbl kill
39
40 # start dmenu (a program launcher)
41 bindsym $mod+e exec dmenu_run
42
43 # place and update the calendar background
44 bindsym $mod+Shift+E exec convert -background black -fill white -size 1600x900 -font /usr/share/fonts/truetype/unifont/unifont.ttf label:"$(gcalcli --nc calw)" png:- | display -window root
45
46 # lock the machine
47 bindsym $mod+l exec xautolock -locknow
48
49 # change focus
50 bindsym $mod+h focus left
51 bindsym $mod+t focus down
52 bindsym $mod+n focus up
53 bindsym $mod+s focus right
54
55 # move focused window
56 bindsym $mod+Shift+H move left
57 bindsym $mod+Shift+T move down
58 bindsym $mod+Shift+N move up
59 bindsym $mod+Shift+S move right
60
61 # split in horizontal orientation
62 bindsym $mod+d split h
63
64 # split in vertical orientation
65 bindsym $mod+k split v
66
67 # enter fullscreen mode for the focused container
68 bindsym $mod+u fullscreen
69
70 # change container layout (stacked, tabbed, default)
71 bindsym $mod+o layout stacking
72 bindsym $mod+comma layout tabbed
73 bindsym $mod+period layout default
74
75 # toggle tiling / floating
76 bindsym $mod+Shift+space floating toggle
77
78 # change focus between tiling / floating windows
79 bindsym $mod+space focus mode_toggle
80
81 # focus the parent container
82 bindsym $mod+a focus parent
83
84 # focus the child container
85 #bindcode $mod+d focus child
86
87 # switch to workspace
88 bindsym $mod+1 workspace 1
89 bindsym $mod+2 workspace 2
90 bindsym $mod+3 workspace 3
91 bindsym $mod+4 workspace 4
92 bindsym $mod+5 workspace 5
93 bindsym $mod+6 workspace 6
94 bindsym $mod+7 workspace 7
95 bindsym $mod+8 workspace 8
96 bindsym $mod+9 workspace 9
97 bindsym $mod+0 workspace 10
98
99 # move focused container to workspace
100 bindsym $mod+Shift+exclam move container to workspace 1
101 bindsym $mod+Shift+at move container to workspace 2
102 bindsym $mod+Shift+numbersign move container to workspace 3
103 bindsym $mod+Shift+dollar move container to workspace 4
104 bindsym $mod+Shift+percent move container to workspace 5
105 bindsym $mod+Shift+asciicircum move container to workspace 6
106 bindsym $mod+Shift+ampersand move container to workspace 7
107 bindsym $mod+Shift+asterisk move container to workspace 8
108 bindsym $mod+Shift+parenleft move container to workspace 9
109 bindsym $mod+Shift+parenright move container to workspace 10
110
111 # reload the configuration file
112 bindsym $mod+Shift+J reload
113 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
114 bindsym $mod+Shift+P restart
115 # exit i3 (logs you out of your X session)
116 bindsym $mod+Shift+greater exit
117
118 # resize window (you can also use the mouse for that)
119 mode "resize" {
120 # These bindings trigger as soon as you enter the resize mode
121
122 # Pressing left will shrink the window’s width.
123 # Pressing right will grow the window’s width.
124 # Pressing up will shrink the window’s height.
125 # Pressing down will grow the window’s height.
126 bindsym h resize shrink width 10 px or 10 ppt
127 bindsym t resize grow height 10 px or 10 ppt
128 bindsym n resize shrink height 10 px or 10 ppt
129 bindsym s resize grow width 10 px or 10 ppt
130
131 # back to normal: Enter or Escape
132 bindsym Return mode "default"
133 bindsym Escape mode "default"
134 }
135
136 bindsym $mod+p mode "resize"
137
138 # Start i3bar to display a workspace bar (plus the system information i3status
139 # finds out, if available)
140 bar {
141 status_command /home/mart/.i3/bar
142 position bottom
143 Font -gnu-unifont-*-*-*-16-160-*-*-*-*-*-*
144 }