Advertisement
msjche

~/.i3/config

Jul 15th, 2013
618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  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 somewhen, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7.  
  8. ###########################################################
  9. ######################### Custom ##########################
  10. ###########################################################
  11.  
  12. # Set Wallpaper
  13. exec --no-startup-id nitrogen --restore
  14.  
  15. # Set Screensaver
  16. exec --no-startup-id xscreensaver
  17.  
  18. # Application Shortcuts
  19.  
  20. # Volume control
  21. bindsym XF86AudioLowerVolume exec /usr/bin/pactl set-sink-volume 0 -- '-5%'
  22. bindsym XF86AudioRaiseVolume exec /usr/bin/pactl set-sink-volume 0 -- '+5%'
  23.  
  24. bindsym XF86AudioMute exec "amixer -D pulse set Master toggle"
  25.  
  26. bindsym XF86AudioPlay exec "mpc toggle"
  27. bindsym XF86AudioStop exec "mpc stop"
  28. bindsym XF86AudioNext exec "mpc next"
  29. bindsym XF86AudioPrev exec "mpc next"
  30.  
  31. ###########################################################
  32. ######################## End Custom #######################
  33. ###########################################################
  34.  
  35. # i3 config file (v4)
  36. #
  37. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  38.  
  39. set $mod Mod4
  40.  
  41. # font for window titles. ISO 10646 = Unicode
  42. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  43.  
  44. # Use Mouse+$mod to drag floating windows to their wanted position
  45. floating_modifier $mod
  46.  
  47. # start a terminal
  48. #bindsym $mod+Return exec i3-sensible-terminal
  49. bindsym $mod+Return exec urxvt
  50.  
  51. # kill focused window
  52. bindsym $mod+Shift+Q kill
  53.  
  54. # start dmenu (a program launcher)
  55. bindsym $mod+d exec dmenu_run -p drad$ -nb '#000000' -nf '#bebebe' -sb '#414171' -sf '#ffffff'
  56.  
  57. # change focus
  58. bindsym $mod+j focus left
  59. bindsym $mod+k focus down
  60. bindsym $mod+l focus up
  61. bindsym $mod+semicolon focus right
  62.  
  63. # alternatively, you can use the cursor keys:
  64. bindsym $mod+Left focus left
  65. bindsym $mod+Down focus down
  66. bindsym $mod+Up focus up
  67. bindsym $mod+Right focus right
  68.  
  69. # move focused window
  70. bindsym $mod+Shift+J move left
  71. bindsym $mod+Shift+K move down
  72. bindsym $mod+Shift+L move up
  73. bindsym $mod+Shift+colon move right
  74.  
  75. # alternatively, you can use the cursor keys:
  76. bindsym $mod+Shift+Left move left
  77. bindsym $mod+Shift+Down move down
  78. bindsym $mod+Shift+Up move up
  79. bindsym $mod+Shift+Right move right
  80.  
  81. # split in horizontal orientation
  82. bindsym $mod+h split h
  83.  
  84. # split in vertical orientation
  85. bindsym $mod+v split v
  86.  
  87. # enter fullscreen mode for the focused container
  88. bindsym $mod+f fullscreen
  89.  
  90. # change container layout (stacked, tabbed, default)
  91. bindsym $mod+s layout stacking
  92. bindsym $mod+w layout tabbed
  93. bindsym $mod+e layout default
  94.  
  95. # toggle tiling / floating
  96. bindsym $mod+Shift+space floating toggle
  97.  
  98. # change focus between tiling / floating windows
  99. bindsym $mod+space focus mode_toggle
  100.  
  101. # focus the parent container
  102. bindsym $mod+a focus parent
  103.  
  104. # focus the child container
  105. #bindcode $mod+d focus child
  106.  
  107. # workplace names
  108. #workspace "1-web"
  109. #workspace "2-term"
  110. #workspace "3-news"
  111. #workspace "4-misc"
  112. #workspace "5-arrg"
  113. #workspace "6-tor"
  114.  
  115. # switch to workspace
  116. bindsym $mod+1 workspace 1
  117. bindsym $mod+2 workspace 2
  118. bindsym $mod+3 workspace 3
  119. bindsym $mod+4 workspace 4
  120. bindsym $mod+5 workspace 5
  121. bindsym $mod+6 workspace 6
  122. bindsym $mod+7 workspace 7
  123. bindsym $mod+8 workspace 8
  124. bindsym $mod+9 workspace 9
  125. bindsym $mod+0 workspace 10
  126.  
  127. # move focused container to workspace
  128. bindsym $mod+Shift+exclam move container to workspace 1
  129. bindsym $mod+Shift+at move container to workspace 2
  130. bindsym $mod+Shift+numbersign move container to workspace 3
  131. bindsym $mod+Shift+dollar move container to workspace 4
  132. bindsym $mod+Shift+percent move container to workspace 5
  133. bindsym $mod+Shift+asciicircum move container to workspace 6
  134. bindsym $mod+Shift+ampersand move container to workspace 7
  135. bindsym $mod+Shift+asterisk move container to workspace 8
  136. bindsym $mod+Shift+parenleft move container to workspace 9
  137. bindsym $mod+Shift+parenright move container to workspace 10
  138.  
  139. # reload the configuration file
  140. bindsym $mod+Shift+C reload
  141. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  142. bindsym $mod+Shift+R restart
  143. # exit i3 (logs you out of your X session)
  144. bindsym $mod+Shift+E exit
  145.  
  146. # resize window (you can also use the mouse for that)
  147. mode "resize" {
  148. # These bindings trigger as soon as you enter the resize mode
  149.  
  150. # Pressing left will shrink the window’s width.
  151. # Pressing right will grow the window’s width.
  152. # Pressing up will shrink the window’s height.
  153. # Pressing down will grow the window’s height.
  154. bindsym j resize shrink width 10 px or 10 ppt
  155. bindsym k resize grow height 10 px or 10 ppt
  156. bindsym l resize shrink height 10 px or 10 ppt
  157. bindsym semicolon resize grow width 10 px or 10 ppt
  158.  
  159. # same bindings, but for the arrow keys
  160. bindsym 113 resize shrink width 10 px or 10 ppt
  161. bindsym 116 resize grow height 10 px or 10 ppt
  162. bindsym 111 resize shrink height 10 px or 10 ppt
  163. bindsym 114 resize grow width 10 px or 10 ppt
  164.  
  165. # back to normal: Enter or Escape
  166. bindsym Return mode "default"
  167. bindsym Escape mode "default"
  168. }
  169.  
  170. bindsym $mod+r mode "resize"
  171.  
  172. #bar {
  173. # status_command i3status
  174. # colors {
  175. # statusline #F6F3E8
  176. # background #404040
  177. # }
  178. #}
  179.  
  180. bar {
  181. status_command i3status
  182. position bottom
  183. # mode hide
  184. workspace_buttons yes
  185. tray_output none
  186.  
  187. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  188.  
  189. colors {
  190. background #000000
  191. statusline #7272ED
  192.  
  193. focused_workspace #BEBEBE #414171
  194. active_workspace #ffffff #2E3436
  195. inactive_workspace #888888 #222222
  196. urgent_workspace #ffffff #900000
  197. }
  198. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement