My dotfiles. Period.

config 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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. # move focused container to workspace
  92. bindsym $mod+Shift+1 move container to workspace $w1
  93. bindsym $mod+Shift+2 move container to workspace $w2
  94. bindsym $mod+Shift+3 move container to workspace $w3
  95. bindsym $mod+Shift+4 move container to workspace $w4
  96. bindsym $mod+Shift+5 move container to workspace $w5
  97. bindsym $mod+Shift+6 move container to workspace $w6
  98. bindsym $mod+Shift+7 move container to workspace $w7
  99. bindsym $mod+Shift+8 move container to workspace $w8
  100. bindsym $mod+Shift+9 move container to workspace $w9
  101. bindsym $mod+Shift+0 move container to workspace $w0
  102. bindsym $mod+Shift+grave move scratchpad
  103. bindsym $mod+grave scratchpad show
  104. # mark mode
  105. bindsym $mod+equal mode "mark"
  106. mode "mark" {
  107. bindsym m exec i3-winmark mark ; mode "default"
  108. bindsym u exec i3-winmark unmark ; mode "default"
  109. bindsym g exec i3-winmark goto ; mode "default"
  110. bindsym $mod+equal mode "default"
  111. bindsym Escape mode "default"
  112. bindsym Return mode "default"
  113. }
  114. # reload the configuration file
  115. #bindsym $mod+Shift+c reload
  116. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  117. bindsym $mod+Shift+r restart
  118. # exit i3 (logs you out of your X session)
  119. 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'"
  120. bindsym $mod+r mode "resize"
  121. mode "resize" {
  122. bindsym Left resize shrink width 200 px or 12 ppt
  123. bindsym Down resize grow height 200 px or 12 ppt
  124. bindsym Up resize shrink height 200 px or 12 ppt
  125. bindsym Right resize grow width 200 px or 12 ppt
  126. bindsym Shift+Left resize shrink width 25 px or 2 ppt
  127. bindsym Shift+Down resize grow height 25 px or 2 ppt
  128. bindsym Shift+Up resize shrink height 25 px or 2 ppt
  129. bindsym Shift+Right resize grow width 25 px or 2 ppt
  130. bindsym $mod+r mode "default"
  131. bindsym Return mode "default"
  132. bindsym Escape mode "default"
  133. }
  134. # Start i3bar to display a workspace bar (plus the system information i3status
  135. # finds out, if available)
  136. bar {
  137. status_command i3status
  138. }
  139. # show CapsLock state in statusbar
  140. bindsym Caps_Lock mode "caps"
  141. bindsym Shift+Caps_Lock mode "caps"
  142. bindsym Ctrl+Caps_Lock mode "caps"
  143. bindsym $mod+Caps_Lock mode "caps"
  144. mode "caps" {
  145. bindsym Caps_Lock mode "default"
  146. bindsym Shift+Caps_Lock mode "default"
  147. bindsym Ctrl+Caps_Lock mode "default"
  148. bindsym $mod+Caps_Lock mode "default"
  149. }
  150. ### MINE
  151. bindsym $mod+Return exec "urxvt"
  152. bindsym $mod+Shift+Return exec "xfce4-terminal"
  153. bindsym $mod+b exec "saturnin www -1 | head -1 | uba -a"
  154. bindsym $mod+Shift+b exec "saturnin www -1 | uba"
  155. bindsym $mod+i exec "saturnin conf -j -S www.ini | saturnin dmenu -l 20 --split = | uba"
  156. bindsym $mod+Shift+i exec "tac .local/share/uzbl/history | uniq | saturnin dmenu -l 20 --split-field 3 | uba"
  157. bindsym $mod+c exec "saturnin clip save"
  158. bindsym $mod+Shift+c exec "saturnin clip load"
  159. bindsym $mod+Shift+f exec thunar
  160. bindsym $mod+Shift+o exec "urxvt -e mocp"
  161. bindsym $mod+Escape exec "saturnin iam afk"
  162. bindsym $mod+Shift+Escape exec "saturnin iam gone"
  163. bindsym $mod+m exec "saturnin conf -j -S -s dmenu.item | saturnin dmenu --split = | bash -"
  164. bindsym $mod+Shift+m exec "i3-dmenu-desktop --dmenu='saturnin dmenu'"
  165. bindsym $mod+p exec "dmenu_path | saturnin dmenu | bash -"
  166. bindsym $mod+Shift+p exec "tac .dmenu_history | uniq | saturnin dmenu | tee -a .dmenu_history | bash -"
  167. bindsym $mod+n exec "saturnin iam bbl"
  168. bindsym $mod+Shift+n exec "saturnin iam bbldone"
  169. bindsym XF86AudioRaiseVolume exec "saturnin iam deaf"
  170. bindsym XF86AudioLowerVolume exec "saturnin iam deafnomore"
  171. bindsym XF86AudioMute exec "saturnin iam listening"
  172. mouse_warping none
  173. for_window [class="Shutter"] floating enable
  174. for_window [class="Orage"] floating enable
  175. exec "dunst"
  176. exec "owncloud"
  177. exec "psi"
  178. exec "orage"
  179. exec "orage -t"
  180. exec "dropbox start"
  181. exec "xchat"
  182. exec "shutter --min_at_startup"