Guest User

Untitled

a guest
Oct 30th, 2012
742
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. # i3 config file (v4)
  9. #
  10. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. # class                             border  backgr.  text    indicator
  13. client.focused                      #ff4500 #2B0A0A  #ffffff #ff4500
  14. client.unfocused                #2f4f4f #000000  #808080 #2B0A0A
  15. client.focused_inactive   #2f4f4f #000000  #808080 #000000
  16.  
  17. set $mod Mod4
  18.  
  19. #move programs to its workspaces
  20. #no border for browser
  21. for_window [instance="^google-chrome$"] border 1pixel
  22.  
  23. #no focus under mouse
  24. focus_follows_mouse no
  25.  
  26. #show and hide current floting window
  27. bindsym $mod+Shift+minus move scratchpad
  28. bindsym $mod+minus exec amixer -c 0 -q set PCM 5%- unmute
  29. bindsym $mod+equal exec amixer -c 0 -q set PCM 5%+ unmute
  30. bindsym $mod+grave exec google-chrome
  31. bindsym $mod+r exec gnome-terminal -e ranger
  32. bindcode 107 exec --no-startup-id scrot
  33.  
  34. # font for window titles. ISO 10646 = Unicode
  35. #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  36. #font -*-terminus-*-*-*-*-12-*-*-*-*-*-iso10646-*
  37.  
  38. font -*-terminus-medium-*-normal-*-12-*-*-*-*-*-iso10646-*
  39. # Use Mouse+$mod to drag floating windows to their wanted position
  40. floating_modifier $mod
  41.  
  42. # start a terminal
  43. bindsym $mod+Return exec i3-sensible-terminal
  44.  
  45. # kill focused window
  46. #bindsym $mod+shift+q kill
  47. bindsym $mod+q kill
  48.  
  49. # start dmenu (a program launcher)
  50. bindsym $mod+d exec dmenu_run -nb "#000000" -nf "#808080" -sf "#000000" -sb "#FF0000" -p ">" -b -fn "-*-terminus-medium-*-normal-*-14-*-*-*-*-*-iso10646-*"
  51.  
  52. bindsym $mod+Shift+L exec ~/scripts/lock.sh
  53.  
  54.  
  55. # change focus
  56. bindsym $mod+j focus left
  57. bindsym $mod+k focus down
  58. bindsym $mod+l focus up
  59. bindsym $mod+semicolon focus right
  60.  
  61. # alternatively, you can use the cursor keys:
  62. bindsym $mod+Left focus left
  63. bindsym $mod+Down focus down
  64. bindsym $mod+Up focus up
  65. bindsym $mod+Right focus right
  66.  
  67. # move focused window
  68. bindsym $mod+Shift+J move left
  69. bindsym $mod+Shift+K move down
  70. #bindsym $mod+Shift+L move up
  71. bindsym $mod+Shift+colon move right
  72.  
  73. # alternatively, you can use the cursor keys:
  74. bindsym $mod+Shift+Left move left
  75. bindsym $mod+Shift+Down move down
  76. bindsym $mod+Shift+Up move up
  77. bindsym $mod+Shift+Right move right
  78.  
  79. # split in horizontal orientation
  80. bindsym $mod+v split h
  81.  
  82. # split in vertical orientation
  83. bindsym $mod+h split v
  84.  
  85. # enter fullscreen mode for the focused container
  86. bindsym $mod+f fullscreen
  87.  
  88. # change container layout (stacked, tabbed, default)
  89. bindsym $mod+s layout stacking
  90. bindsym $mod+w layout tabbed
  91. bindsym $mod+e layout default
  92.  
  93. # toggle tiling / floating
  94. bindsym $mod+Shift+space floating toggle
  95.  
  96. # change focus between tiling / floating windows
  97. bindsym $mod+space focus mode_toggle
  98.  
  99. # focus the parent container
  100. bindsym $mod+a focus parent
  101.  
  102. # focus the child container
  103. #bindcode $mod+d focus child
  104.  
  105. # switch to workspace
  106. bindsym $mod+1 workspace 1
  107. bindsym $mod+2 workspace 2
  108. bindsym $mod+3 workspace 3
  109. bindsym $mod+4 workspace 4
  110. bindsym $mod+5 workspace 5
  111. bindsym $mod+6 workspace 6
  112. bindsym $mod+7 workspace 7
  113. bindsym $mod+8 workspace 8
  114. bindsym $mod+9 workspace 9
  115. bindsym $mod+0 workspace 10
  116.  
  117. # move focused container to workspace
  118. bindsym $mod+Shift+exclam move container to workspace 1
  119. bindsym $mod+Shift+at move container to workspace 2
  120. bindsym $mod+Shift+numbersign move container to workspace 3
  121. bindsym $mod+Shift+dollar move container to workspace 4
  122. bindsym $mod+Shift+percent move container to workspace 5
  123. bindsym $mod+Shift+asciicircum move container to workspace 6
  124. bindsym $mod+Shift+ampersand move container to workspace 7
  125. bindsym $mod+Shift+asterisk move container to workspace 8
  126. bindsym $mod+Shift+parenleft move container to workspace 9
  127. bindsym $mod+Shift+parenright move container to workspace 10
  128.  
  129. # reload the configuration file
  130. bindsym $mod+Shift+C reload
  131. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  132. bindsym $mod+Shift+R restart
  133. # exit i3 (logs you out of your X session)
  134. bindsym $mod+Shift+E exit
  135.  
  136. # resize window (you can also use the mouse for that)
  137. mode "resize" {
  138.         # These bindings trigger as soon as you enter the resize mode
  139.  
  140.         # Pressing left will shrink the window’s width.
  141.         # Pressing right will grow the window’s width.
  142.         # Pressing up will shrink the window’s height.
  143.         # Pressing down will grow the window’s height.
  144.         bindsym j resize shrink width 5 pxror 5 ppt
  145.         bindsym k resize  height 5 px or 5 ppt
  146.         bindsym l resize shrink height 5 px or 5 ppt
  147.         bindsym semicolon resize grow width 5 px or 5 ppt
  148.  
  149.         # same bindings, but for the arrow keys
  150.         bindsym 113 resize shrink width 5 px or 5 ppt
  151.         bindsym 116 resize grow height 5 px or 5 ppt
  152.         bindsym 111 resize shrink height 5 px or 5 ppt
  153.         bindsym 114 resize grow width 5 px or 5 ppt
  154.  
  155.         # back to normal: Enter or Escape
  156.         bindsym Return mode "default"
  157.         bindsym Escape mode "default"
  158. }
  159.  
  160. #bindsym $mod+r mode "resize"
  161.  
  162. # Start i3bar to display a workspace bar (plus the system information i3status
  163. # finds out, if available)
  164. bar {
  165.         status_command i3status
  166.                 position top
  167.                 colors {
  168.                   statusline #ff4500
  169.                     #color_class       border  backg.  text
  170.                     focused_workspace  #ff4500 #2B0A0A #f0d830
  171.                 active_workspace   #686868 #aeb2c3 #222222
  172.                     inactive_workspace #2F4F4F #000000 #808080
  173.                 }
  174. }
RAW Paste Data