My dotfiles. Period.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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. # i3 config file (v4)
  8. #
  9. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  10. set $mod Mod4
  11. # Font for window titles. Will also be used by the bar unless a different font
  12. # is used in the bar {} block below.
  13. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  14. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  15. font pango:DejaVu Sans Mono 11
  16. #font -*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*
  17. # Before i3 v4.8, we used to recommend this one as the default:
  18. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  19. # The font above is very space-efficient, that is, it looks good, sharp and
  20. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  21. # X core fonts rendering does not support right-to-left and this being a bitmap
  22. # font, it doesn’t scale on retina/hidpi displays.
  23. # Use Mouse+$mod to drag floating windows to their wanted position
  24. floating_modifier $mod
  25. # change focus
  26. bindsym $mod+h focus left
  27. bindsym $mod+j focus down
  28. bindsym $mod+k focus up
  29. bindsym $mod+l focus right
  30. # alternatively, you can use the cursor keys:
  31. bindsym $mod+Left focus left
  32. bindsym $mod+Down focus down
  33. bindsym $mod+Up focus up
  34. bindsym $mod+Right focus right
  35. # move focused window
  36. bindsym $mod+Shift+h move left
  37. bindsym $mod+Shift+j move down
  38. bindsym $mod+Shift+k move up
  39. bindsym $mod+Shift+l move right
  40. # alternatively, you can use the cursor keys:
  41. bindsym $mod+Shift+Left move left
  42. bindsym $mod+Shift+Down move down
  43. bindsym $mod+Shift+Up move up
  44. bindsym $mod+Shift+Right move right
  45. # split in horizontal orientation
  46. bindsym $mod+g split h
  47. # split in vertical orientation
  48. bindsym $mod+v split v
  49. # enter fullscreen mode for the focused container
  50. bindsym $mod+f fullscreen
  51. # change container layout (stacked, tabbed, toggle split)
  52. bindsym $mod+s layout stacking
  53. bindsym $mod+w layout tabbed
  54. bindsym $mod+e layout toggle split
  55. # toggle tiling / floating
  56. bindsym $mod+Shift+space floating toggle
  57. # change focus between tiling / floating windows
  58. bindsym $mod+space focus mode_toggle
  59. # focus the parent container
  60. bindsym $mod+a focus parent
  61. bindsym $mod+Shift+a focus child
  62. # assign workspace names
  63. set $w1 1
  64. set $w2 2
  65. set $w3 3
  66. set $w4 4
  67. set $w5 5
  68. set $w6 6
  69. set $w7 7
  70. set $w8 8
  71. set $w9 9
  72. set $w0 10
  73. # switch to workspace
  74. bindsym $mod+1 workspace $w1
  75. bindsym $mod+2 workspace $w2
  76. bindsym $mod+3 workspace $w3
  77. bindsym $mod+4 workspace $w4
  78. bindsym $mod+5 workspace $w5
  79. bindsym $mod+6 workspace $w6
  80. bindsym $mod+7 workspace $w7
  81. bindsym $mod+8 workspace $w8
  82. bindsym $mod+9 workspace $w9
  83. bindsym $mod+0 workspace $w0
  84. bindsym $mod+Page_Up workspace prev_on_output
  85. bindsym $mod+Page_Down workspace next_on_output
  86. # move focused container to workspace
  87. bindsym $mod+Shift+1 move container to workspace $w1
  88. bindsym $mod+Shift+2 move container to workspace $w2
  89. bindsym $mod+Shift+3 move container to workspace $w3
  90. bindsym $mod+Shift+4 move container to workspace $w4
  91. bindsym $mod+Shift+5 move container to workspace $w5
  92. bindsym $mod+Shift+6 move container to workspace $w6
  93. bindsym $mod+Shift+7 move container to workspace $w7
  94. bindsym $mod+Shift+8 move container to workspace $w8
  95. bindsym $mod+Shift+9 move container to workspace $w9
  96. bindsym $mod+Shift+0 move container to workspace $w0
  97. bindsym $mod+Shift+Page_Up move container to workspace prev_on_output
  98. bindsym $mod+Shift+Page_Down move container to workspace next_on_output
  99. bindsym $mod+Shift+Tab move scratchpad
  100. bindsym $mod+Tab scratchpad show
  101. # mark mode
  102. bindsym $mod+backslash mode "mark"
  103. mode "mark" {
  104. #      
  105. #        
  106. set $neutral "<span foreground='#999999'></span> %title"
  107. set $runn "<span foreground='cyan'></span> %title"
  108. set $pass "<span foreground='lime'></span> %title"
  109. set $warn "<span foreground='orange'></span> %title"
  110. set $fail "<span foreground='#992222'></span> %title"
  111. set $strike "<s>%title</s>"
  112. set $unders "<u>%title</u>"
  113. set $italic "<i>%title</i>"
  114. set $normal "%title"
  115. set $list "<span foreground='#999999'></span> %title"
  116. set $item "<span foreground='#999999'></span> %title"
  117. set $favorite "<span foreground='red'></span> %title"
  118. bindsym m exec i3-winmark mark ; mode "default"
  119. bindsym u exec i3-winmark unmark ; mode "default"
  120. bindsym g exec i3-winmark goto ; mode "default"
  121. bindsym Page_Up [workspace=__focused__] \
  122. title_format $neutral; mode "default"
  123. bindsym Page_Down [workspace=__focused__] \
  124. title_format $normal ; mode "default"
  125. bindsym p title_format $pass ; mode "default"
  126. bindsym bracketleft title_format $warn ; mode "default"
  127. bindsym bracketright title_format $fail ; mode "default"
  128. bindsym apostrophe title_format $runn ; mode "default"
  129. bindsym semicolon title_format $neutral; mode "default"
  130. bindsym comma title_format $favorite ; mode "default"
  131. bindsym period title_format $item ; mode "default"
  132. bindsym slash title_format $list ; mode "default"
  133. bindsym BackSpace title_format $strike ; mode "default"
  134. bindsym equal title_format $unders ; mode "default"
  135. bindsym minus title_format $italic ; mode "default"
  136. bindsym space title_format $normal ; mode "default"
  137. bindsym backslash title_format $normal ; mode "default"
  138. bindsym $mod+backslash mode "default"
  139. bindsym Escape mode "default"
  140. bindsym Return mode "default"
  141. }
  142. # reload the configuration file
  143. #bindsym $mod+Shift+c reload
  144. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  145. bindsym $mod+Shift+r restart
  146. bindsym $mod+r mode "resize"
  147. mode "resize" {
  148. bindsym Left resize shrink width 200 px or 12 ppt
  149. bindsym Down resize grow height 200 px or 12 ppt
  150. bindsym Up resize shrink height 200 px or 12 ppt
  151. bindsym Right resize grow width 200 px or 12 ppt
  152. bindsym Shift+Left resize shrink width 25 px or 2 ppt
  153. bindsym Shift+Down resize grow height 25 px or 2 ppt
  154. bindsym Shift+Up resize shrink height 25 px or 2 ppt
  155. bindsym Shift+Right resize grow width 25 px or 2 ppt
  156. bindsym $mod+r mode "default"
  157. bindsym Return mode "default"
  158. bindsym Escape mode "default"
  159. }
  160. # Start i3bar to display a workspace bar (plus the system information i3status
  161. # finds out, if available)
  162. bar {
  163. status_command i3status
  164. bindsym button2 exec thunar
  165. bindsym button3 exec gxkill
  166. separator_symbol "•"
  167. # other suggestions:
  168. # ‧•┇╻╹╹╿═╎╏◆◾║︙⎪∣∕⟘⟙∙∼⦀⦑⦒⦚⧸⧹▓▒░⧻⧺┆˘͡͡ːˌ˷|・፧።
  169. }
  170. # bar {
  171. # id sardine-moc
  172. # position top
  173. # workspace_buttons no
  174. # tray_output none
  175. # binding_mode_indicator no
  176. # status_command ~/.i3/bin/13bar-sardine-moc
  177. # }
  178. # bindsym $mod+minus bar mode toggle sardine-moc
  179. # show CapsLock state in statusbar
  180. bindsym Caps_Lock mode "caps"
  181. bindsym Shift+Caps_Lock mode "caps"
  182. bindsym Ctrl+Caps_Lock mode "caps"
  183. bindsym $mod+Caps_Lock mode "caps"
  184. mode "caps" {
  185. bindsym Caps_Lock mode "default"
  186. bindsym Shift+Caps_Lock mode "default"
  187. bindsym Ctrl+Caps_Lock mode "default"
  188. bindsym $mod+Caps_Lock mode "default"
  189. }
  190. ### MINE
  191. bindsym $mod+Return exec "urxvt"
  192. bindsym $mod+Shift+Return exec "xfce4-terminal"
  193. bindsym $mod+b exec "bmo uris -1 | head -1 | bmo xuris -a"
  194. bindsym $mod+c exec "bmo uris -1 | head -1 | bmo xuris -a -c"
  195. bindsym $mod+Shift+b exec "bmo uris -1 | bmo xuris"
  196. bindsym $mod+Shift+c exec "bmo uris -1 | bmo xuris -c"
  197. bindsym $mod+i exec "bmo menu uris"
  198. bindsym $mod+Shift+i exec "bmo menu www_hist"
  199. bindsym $mod+d exec xbacklight -dec 49
  200. bindsym $mod+Shift+d exec xbacklight -inc 5
  201. bindsym $mod+q exec "bmo clip cat | sed 's/^/g /' | bmo uris | bmo xuris"
  202. bindsym $mod+Shift+q exec "bmo clip cat | perl -ne '$a=qx(bmo menu query); chomp $a; print qq/$a $_/' | bmo uris | bmo xuris"
  203. #FIXME: ^^^ this is really uuuugggglyyyy
  204. bindsym $mod+Escape exec "bmo iam afk"
  205. bindsym $mod+Shift+Escape exec "bmo iam gone"
  206. bindsym $mod+Home exec "bmo menu home"
  207. bindsym $mod+Shift+Home exec "thunar"
  208. bindsym $mod+m exec "bmo menu status"
  209. bindsym $mod+Shift+m exec "i3-dmenu-desktop --dmenu='bmo dmenu'"
  210. bindsym $mod+p exec "bmo menu run"
  211. bindsym $mod+Shift+p exec "bmo menu run_hist"
  212. bindsym $mod+t exec "acclive"
  213. bindsym $mod+n exec "bmo kb next"
  214. bindsym $mod+Shift+n exec "bmo kb home"
  215. bindcode $mod+57 exec "bmo kb next"
  216. bindcode $mod+Shift+57 exec "bmo kb home"
  217. bindsym XF86AudioRaiseVolume exec "bmo au up"
  218. bindsym XF86AudioLowerVolume exec "bmo au down"
  219. bindsym XF86AudioMute exec "bmo au flip"
  220. bindsym $mod+BackSpace kill
  221. bindsym $mod+Shift+BackSpace 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-msg exit'"
  222. mouse_warping none
  223. hide_edge_borders vertical
  224. for_window [class="Shutter"] floating enable
  225. for_window [class="Orage"] floating enable
  226. exec "newfeh"
  227. exec "dunst"
  228. exec "owncloud"
  229. exec "psi"
  230. exec "orage"
  231. exec "dropbox start"
  232. exec "hexchat --minimize=2"
  233. exec "nm-applet"
  234. exec "shutter --min_at_startup"