My dotfiles. Period.

config 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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. # kill focused window
  26. bindsym $mod+Shift+q kill
  27. # start dmenu (a program launcher)
  28. # There also is the (new) i3-dmenu-desktop which only displays applications
  29. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  30. # installed.
  31. # change focus
  32. bindsym $mod+h focus left
  33. bindsym $mod+j focus down
  34. bindsym $mod+k focus up
  35. bindsym $mod+l focus right
  36. # alternatively, you can use the cursor keys:
  37. bindsym $mod+Left focus left
  38. bindsym $mod+Down focus down
  39. bindsym $mod+Up focus up
  40. bindsym $mod+Right focus right
  41. # move focused window
  42. bindsym $mod+Shift+h move left
  43. bindsym $mod+Shift+j move down
  44. bindsym $mod+Shift+k move up
  45. bindsym $mod+Shift+l move right
  46. # alternatively, you can use the cursor keys:
  47. bindsym $mod+Shift+Left move left
  48. bindsym $mod+Shift+Down move down
  49. bindsym $mod+Shift+Up move up
  50. bindsym $mod+Shift+Right move right
  51. # split in horizontal orientation
  52. bindsym $mod+g split h
  53. # split in vertical orientation
  54. bindsym $mod+v split v
  55. # enter fullscreen mode for the focused container
  56. bindsym $mod+f fullscreen
  57. # change container layout (stacked, tabbed, toggle split)
  58. bindsym $mod+s layout stacking
  59. bindsym $mod+w layout tabbed
  60. bindsym $mod+e layout toggle split
  61. # toggle tiling / floating
  62. bindsym $mod+Shift+space floating toggle
  63. # change focus between tiling / floating windows
  64. bindsym $mod+space focus mode_toggle
  65. # focus the parent container
  66. bindsym $mod+a focus parent
  67. # focus the child container
  68. #bindsym $mod+d focus child
  69. # assign workspace names
  70. set $w1 1
  71. set $w2 2
  72. set $w3 3
  73. set $w4 4
  74. set $w5 5
  75. set $w6 6
  76. set $w7 7
  77. set $w8 8
  78. set $w9 9
  79. set $w0 10
  80. # switch to workspace
  81. bindsym $mod+1 workspace $w1
  82. bindsym $mod+2 workspace $w2
  83. bindsym $mod+3 workspace $w3
  84. bindsym $mod+4 workspace $w4
  85. bindsym $mod+5 workspace $w5
  86. bindsym $mod+6 workspace $w6
  87. bindsym $mod+7 workspace $w7
  88. bindsym $mod+8 workspace $w8
  89. bindsym $mod+9 workspace $w9
  90. bindsym $mod+0 workspace $w0
  91. bindsym $mod+Page_Up workspace prev_on_output
  92. bindsym $mod+Page_Down workspace next_on_output
  93. # move focused container to workspace
  94. bindsym $mod+Shift+1 move container to workspace $w1
  95. bindsym $mod+Shift+2 move container to workspace $w2
  96. bindsym $mod+Shift+3 move container to workspace $w3
  97. bindsym $mod+Shift+4 move container to workspace $w4
  98. bindsym $mod+Shift+5 move container to workspace $w5
  99. bindsym $mod+Shift+6 move container to workspace $w6
  100. bindsym $mod+Shift+7 move container to workspace $w7
  101. bindsym $mod+Shift+8 move container to workspace $w8
  102. bindsym $mod+Shift+9 move container to workspace $w9
  103. bindsym $mod+Shift+0 move container to workspace $w0
  104. bindsym $mod+Shift+Page_Up move container to workspace prev_on_output
  105. bindsym $mod+Shift+Page_Down move container to workspace next_on_output
  106. bindsym $mod+Shift+grave move scratchpad
  107. bindsym $mod+grave scratchpad show
  108. # mark mode
  109. bindsym $mod+equal mode "mark"
  110. mode "mark" {
  111. bindsym m exec i3-winmark mark ; mode "default"
  112. bindsym u exec i3-winmark unmark ; mode "default"
  113. bindsym g exec i3-winmark goto ; mode "default"
  114. bindsym $mod+equal mode "default"
  115. bindsym Escape mode "default"
  116. bindsym Return mode "default"
  117. }
  118. # reload the configuration file
  119. #bindsym $mod+Shift+c reload
  120. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  121. bindsym $mod+Shift+r restart
  122. # exit i3 (logs you out of your X session)
  123. bindsym $mod+Shift+e 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'"
  124. bindsym $mod+r mode "resize"
  125. mode "resize" {
  126. bindsym Left resize shrink width 200 px or 12 ppt
  127. bindsym Down resize grow height 200 px or 12 ppt
  128. bindsym Up resize shrink height 200 px or 12 ppt
  129. bindsym Right resize grow width 200 px or 12 ppt
  130. bindsym Shift+Left resize shrink width 25 px or 2 ppt
  131. bindsym Shift+Down resize grow height 25 px or 2 ppt
  132. bindsym Shift+Up resize shrink height 25 px or 2 ppt
  133. bindsym Shift+Right resize grow width 25 px or 2 ppt
  134. bindsym $mod+r mode "default"
  135. bindsym Return mode "default"
  136. bindsym Escape mode "default"
  137. }
  138. # Start i3bar to display a workspace bar (plus the system information i3status
  139. # finds out, if available)
  140. bar {
  141. status_command i3status
  142. }
  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+c exec "saturnin clip save"
  164. bindsym $mod+Shift+c exec "saturnin clip load"
  165. bindsym $mod+Shift+f exec thunar
  166. bindsym $mod+Shift+o exec "urxvt -e mocp"
  167. bindsym $mod+d exec xbacklight -dec 50
  168. bindsym $mod+Shift+d exec xbacklight -inc 25
  169. bindsym $mod+Escape exec "saturnin iam afk"
  170. bindsym $mod+Shift+Escape exec "saturnin iam gone"
  171. bindsym $mod+m exec "saturnin menu status"
  172. bindsym $mod+Shift+m exec "i3-dmenu-desktop --dmenu='saturnin dmenu'"
  173. bindsym $mod+p exec "saturnin menu run"
  174. bindsym $mod+Shift+p exec "saturnin menu run_hist"
  175. bindsym $mod+t exec "acclive"
  176. bindsym $mod+n exec "saturnin kb next"
  177. bindsym $mod+Shift+n exec "saturnin kb home"
  178. bindcode $mod+57 exec "saturnin kb next"
  179. bindcode $mod+Shift+57 exec "saturnin kb home"
  180. bindsym XF86AudioRaiseVolume exec "saturnin au up"
  181. bindsym XF86AudioLowerVolume exec "saturnin au down"
  182. bindsym XF86AudioMute exec "saturnin au flip"
  183. bindsym $mod+BackSpace kill
  184. 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'"
  185. mouse_warping none
  186. for_window [class="Shutter"] floating enable
  187. for_window [class="Orage"] floating enable
  188. exec "newfeh"
  189. exec "dunst"
  190. exec "owncloud"
  191. exec "psi"
  192. exec "orage"
  193. exec "orage -t"
  194. exec "dropbox start"
  195. exec "xchat"
  196. exec "nm-applet"
  197. exec "shutter --min_at_startup"