My dotfiles. Period.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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+equal mode "mark"
  103. mode "mark" {
  104. bindsym m exec i3-winmark mark ; mode "default"
  105. bindsym u exec i3-winmark unmark ; mode "default"
  106. bindsym g exec i3-winmark goto ; mode "default"
  107. bindsym $mod+equal mode "default"
  108. bindsym Escape mode "default"
  109. bindsym Return mode "default"
  110. }
  111. # reload the configuration file
  112. #bindsym $mod+Shift+c reload
  113. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  114. bindsym $mod+Shift+r restart
  115. bindsym $mod+r mode "resize"
  116. mode "resize" {
  117. bindsym Left resize shrink width 200 px or 12 ppt
  118. bindsym Down resize grow height 200 px or 12 ppt
  119. bindsym Up resize shrink height 200 px or 12 ppt
  120. bindsym Right resize grow width 200 px or 12 ppt
  121. bindsym Shift+Left resize shrink width 25 px or 2 ppt
  122. bindsym Shift+Down resize grow height 25 px or 2 ppt
  123. bindsym Shift+Up resize shrink height 25 px or 2 ppt
  124. bindsym Shift+Right resize grow width 25 px or 2 ppt
  125. bindsym $mod+r mode "default"
  126. bindsym Return mode "default"
  127. bindsym Escape mode "default"
  128. }
  129. # Start i3bar to display a workspace bar (plus the system information i3status
  130. # finds out, if available)
  131. bar {
  132. status_command i3status
  133. }
  134. # bar {
  135. # id sardine-moc
  136. # position top
  137. # workspace_buttons no
  138. # tray_output none
  139. # binding_mode_indicator no
  140. # status_command ~/.i3/bin/13bar-sardine-moc
  141. # }
  142. # bindsym $mod+minus bar mode toggle sardine-moc
  143. # show CapsLock state in statusbar
  144. bindsym Caps_Lock mode "caps"
  145. bindsym Shift+Caps_Lock mode "caps"
  146. bindsym Ctrl+Caps_Lock mode "caps"
  147. bindsym $mod+Caps_Lock mode "caps"
  148. mode "caps" {
  149. bindsym Caps_Lock mode "default"
  150. bindsym Shift+Caps_Lock mode "default"
  151. bindsym Ctrl+Caps_Lock mode "default"
  152. bindsym $mod+Caps_Lock mode "default"
  153. }
  154. ### MINE
  155. bindsym $mod+Return exec "urxvt"
  156. bindsym $mod+Shift+Return exec "xfce4-terminal"
  157. bindsym $mod+b exec "saturnin uris -1 | head -1 | saturnin xuris -a"
  158. bindsym $mod+Ctrl+b exec "saturnin uris -1 | head -1 | saturnin xuris -a -c"
  159. bindsym $mod+Shift+b exec "saturnin uris -1 | saturnin xuris"
  160. bindsym $mod+Ctrl+Shift+b exec "saturnin uris -1 | saturnin xuris -c"
  161. bindsym $mod+i exec "saturnin menu uris"
  162. bindsym $mod+Shift+i exec "saturnin menu www_hist"
  163. bindsym $mod+Shift+f exec thunar
  164. bindsym $mod+Shift+o exec "urxvt -e mocp"
  165. bindsym $mod+d exec xbacklight -dec 50
  166. bindsym $mod+Shift+d exec xbacklight -inc 25
  167. bindsym $mod+Escape exec "saturnin iam afk"
  168. bindsym $mod+Shift+Escape exec "saturnin iam gone"
  169. bindsym $mod+Home exec "saturnin menu home"
  170. bindsym $mod+m exec "saturnin menu status"
  171. bindsym $mod+Shift+m exec "i3-dmenu-desktop --dmenu='saturnin dmenu'"
  172. bindsym $mod+p exec "saturnin menu run"
  173. bindsym $mod+Shift+p exec "saturnin menu run_hist"
  174. bindsym $mod+t exec "acclive"
  175. bindsym $mod+n exec "saturnin kb next"
  176. bindsym $mod+Shift+n exec "saturnin kb home"
  177. bindcode $mod+57 exec "saturnin kb next"
  178. bindcode $mod+Shift+57 exec "saturnin kb home"
  179. bindsym XF86AudioRaiseVolume exec "saturnin au up"
  180. bindsym XF86AudioLowerVolume exec "saturnin au down"
  181. bindsym XF86AudioMute exec "saturnin au flip"
  182. bindsym $mod+BackSpace kill
  183. 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'"
  184. mouse_warping none
  185. for_window [class="Shutter"] floating enable
  186. for_window [class="Orage"] floating enable
  187. exec "newfeh"
  188. exec "dunst"
  189. exec "owncloud"
  190. exec "psi"
  191. exec "orage"
  192. exec "orage -t"
  193. exec "dropbox start"
  194. exec "hexchat"
  195. exec "nm-applet"
  196. exec "shutter --min_at_startup"