add arduino to bashrc
[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 set $font DejaVu Sans Mono
14 set $fontsize 12
15
16 # Toggle playback
17 bindsym Pause exec mpc toggle
18 # Printscreen
19 bindsym Shift+Print exec ~/.local/bin/scr window
20 bindsym Print exec ~/.local/bin/scr
21 # put a password in the clipboard
22 bindsym $mod+y exec passmenu
23 bindsym $mod+Shift+y exec passmenu --type
24
25 # font for window titles.
26 font pango:$font 8
27
28 # use Mouse+$mod to drag floating windows to their wanted position
29 floating_modifier $mod
30 hide_edge_borders none
31
32 # start a terminal
33 bindsym $mod+Return exec st
34
35 # lock
36 bindsym $mod+l exec xautolock -locknow
37
38 # kill focused window
39 bindsym $mod+Shift+quotedbl kill
40
41 # start dmenu
42 bindsym $mod+e exec dmenu_run -i -f -fn 'xft:$font:pixelsize=$fontsize'
43
44 # change focus
45 bindsym $mod+h focus left
46 bindsym $mod+t focus down
47 bindsym $mod+n focus up
48 bindsym $mod+s focus right
49
50 # alternatively, you can use the cursor keys:
51 bindsym XF86MonBrightnessUp exec xbacklight -inc 5
52 bindsym XF86MonBrightnessDown exec xbacklight -dec 5
53 bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
54 bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
55 bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +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 bindsym h resize shrink width 5 px or 5 ppt
124 bindsym t resize grow height 5 px or 5 ppt
125 bindsym n resize shrink height 5 px or 5 ppt
126 bindsym s resize grow width 5 px or 5 ppt
127
128 # back to normal: Enter or Escape
129 bindsym Return mode "default"
130 bindsym Escape mode "default"
131 }
132
133 bindsym $mod+p mode "resize"
134
135 # Start i3bar to display a workspace bar (plus the system information i3status
136 # finds out, if available)
137 bar {
138 status_command i3status
139 font pango:$font $fontsize
140 }