My dotfiles. Period.

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