My dotfiles. Period.

config 7.6KB

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