Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2012
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.86 KB | None | 0 0
  1. set $mod Mod4
  2. workspace_layout tabbed
  3. new_window 1pixel
  4. workspace_auto_back_and_forth yes
  5. # class border backgr. text indicator
  6. client.focused #87AF87 #87AF87 #000000 #87AF87
  7. client.focused_inactive #87AF87 #87AF87 #000000 #87AF87
  8. client.background #182818
  9.  
  10.  
  11. client.unfocused #87AF87 #1B4D1A #87AF87 #87AF87
  12. client.urgent #2f343a #1B4D1A #ffffff #900000
  13.  
  14.  
  15. default_orientation vertical
  16. # font for window titles. ISO 10646 = Unicode
  17. font -hell-monobook-bold-r-normal--16-160-72-72-m-80-iso10646-1
  18. #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  19.  
  20. # Use Mouse+$mod to drag floating windows to their wanted position
  21. floating_modifier $mod
  22.  
  23. #bindsym XF86ScreenSaver exec kb496d
  24. # start a terminal
  25. bindsym Mod1+Ctrl+f exec term
  26.  
  27. # kill focused window
  28. bindsym $mod+Q kill
  29.  
  30. # start dmenu (a program launcher)
  31. bindsym Mod1+grave exec dmenu_run -p 'Run:' -nb '#182818' -nf '#87AF87' -sb '#87AF87' -sf '#000000' -fn -elite-terminal-bold-r-normal--14-140-72-72-c-80-koi8-r
  32.  
  33.  
  34. # change focus
  35. #bindsym $mod+j focus left
  36. #bindsym $mod+k focus down
  37. #bindsym $mod+l focus up
  38. #bindsym $mod+semicolon focus right
  39.  
  40.  
  41. bindsym Ctrl+k focus right
  42. bindsym Ctrl+m focus down
  43. bindsym Ctrl+i focus up
  44. bindsym Ctrl+j focus left
  45.  
  46. # alternatively, you can use the cursor keys:
  47. bindsym $mod+Left focus left
  48. bindsym $mod+Down focus down
  49. bindsym $mod+Up focus up
  50. bindsym $mod+Right focus right
  51.  
  52. # move focused window
  53. bindsym Ctrl+Shift+J move left
  54. bindsym Ctrl+Shift+M move down
  55. bindsym Ctrl+Shift+I move up
  56. bindsym Ctrl+Shift+K move right
  57.  
  58. #bindsym Ctrl+Shift+k focus right
  59. #bindsym Ctrl+Shift+m focus down
  60. #bindsym Ctrl+Shift+i focus up
  61. #bindsym Ctrl+Shift+j focus left
  62.  
  63.  
  64. # alternatively, you can use the cursor keys:
  65. bindsym $mod+Shift+Left move left
  66. bindsym $mod+Shift+Down move down
  67. bindsym $mod+Shift+Up move up
  68. bindsym $mod+Shift+Right move right
  69.  
  70. # split in horizontal orientation
  71. bindsym $mod+h split h
  72.  
  73. # split in vertical orientation
  74. bindsym $mod+v split v
  75.  
  76. # enter fullscreen mode for the focused container
  77. bindsym Mod1+Return fullscreen
  78.  
  79. # change containe layout (stacked, tabbed, default)
  80. bindsym Mod4+s layout stacking
  81. bindsym Mod4+w layout tabbed
  82. bindsym Mod4+e layout default
  83.  
  84. # toggle tiling / floating
  85. bindsym $mod+Shift+space floating toggle
  86.  
  87. # change focus between tiling / floating windows
  88. bindsym $mod+space focus mode_toggle
  89.  
  90. # focus the parent container
  91. #bindsym $mod+a focus parent
  92.  
  93. # focus the child container
  94. #bindcode $mod+d focus child
  95.  
  96. # switch to workspace
  97. bindsym Mod1+1 workspace 1:term
  98. bindsym Mod1+2 workspace 2:web
  99. bindsym Mod1+3 workspace 3:mail
  100. bindsym Mod1+4 workspace 4:misc1
  101. bindsym Mod1+5 workspace 5:misc2
  102. bindsym Mod1+6 workspace 6:misc3
  103. bindsym Mod1+7 workspace 7:draw
  104. bindsym Mod1+8 workspace 8:sql
  105. bindsym Mod1+9 workspace 9:skype
  106. bindsym Mod1+0 workspace 10:music
  107.  
  108. # move focused container to workspace
  109. bindsym Mod1+Shift+exclam move container to workspace 1:term
  110. bindsym Mod1+Shift+at move container to workspace 2:web
  111. bindsym Mod1+Shift+numbersign move container to workspace 3:mail
  112. bindsym Mod1+Shift+dollar move container to workspace 4:misc1
  113. bindsym Mod1+Shift+percent move container to workspace 5:misc2
  114. bindsym Mod1+Shift+asciicircum move container to workspace 6:misc3
  115. bindsym Mod1+Shift+ampersand move container to workspace 7:draw
  116. bindsym Mod1+Shift+asterisk move container to workspace 8:sql
  117. bindsym Mod1+Shift+parenleft move container to workspace 9:skype
  118. bindsym Mod1+Shift+parenright move container to workspace 10:music
  119.  
  120. #assing windows to workspaces
  121. #assign [class="^Firefox$" instance="^Navigator$"] \u2192 8: web
  122. bindsym Mod4+k exec mpc toggle
  123. bindsym Mod4+l exec mpc next
  124. bindsym Mod4+j exec mpc prev
  125. bindsym Mod4+o exec aumix -v +5
  126. bindsym Mod4+m exec aumix -v -5
  127. bindsym Mod4+4 exec g 1
  128. bindsym Mod4+3 exec gamma3
  129. bindsym Mod4+2 exec gamma2
  130. bindsym Mod4+1 exec gamma1
  131.  
  132.  
  133. bindsym Mod4+Shift+V [title=".*?VIM.*?"] focus
  134. bindsym Mod4+Shift+B [title=".*?Pentadactyl"] focus
  135. bindsym Mod4+Shift+M [title="mutt.*?"] focus
  136. bindsym Mod4+Shift+S [title="SQLyog.*?"] focus
  137. bindsym Mod4+Shift+G [class="Gimp" instance="gimp" window_role="gimp-image-window"] focus
  138.  
  139. for_window [class="^Skype$" instance="^skype$"] move container to workspace 9:skype
  140. for_window [class="^Skype$" instance="^skype$"] floating enable
  141.  
  142. for_window [class="^XVkbd$" instance="^xvkbd$"] floating enable
  143. bindsym Mod4+Shift+K [class="^Skype$" instance="^skype$" window_role="Chats"] focus
  144. #bindsym Mod4+Shift+K [class="^Skype$" instance="^skype$" window_role="Chats"] focus
  145.  
  146. assign [class="^Firefox$" instance="^Navigator$"] 2:web
  147. assign [class="Gimp" instance="gimp"] 7:draw
  148. assign [class="MyPaint" instance="mypaint"] 7:draw
  149.  
  150. for_window [class="Gimp" instance="gimp" window_role="gimp-toolbox"] floating disable
  151. for_window [class="MyPaint" instance="mypaint" window_role="Brush selector"] floating disable
  152. for_window [title=".*?Pentadactyl.*?"] move container to workspace 2:web
  153. for_window [class="Wine" instance="SQLyog.exe"] move container to workspace 8:sql
  154. for_window [title=".*?chat.*?"] move scratchpad
  155. #for_window [title="notes.txt.*?"] move scratchpad
  156. for_window [title="StarDict.*?"] move scratchpad
  157.  
  158. #scratchpads
  159. #bindsym Mod4+R sctarchpad show
  160. bindsym Mod4+i [title=".*?chat.*?"] scratchpad show
  161. bindsym Ctrl+space [title=".*?dmesg.*?"] scratchpad show
  162. bindsym Mod4+n [title="notes.txt.*?"] scratchpad show
  163. bindsym Mod4+d [title="StarDict.*?"] scratchpad show
  164. bindsym Mod4+c [title="wifi"] scratchpad show
  165.  
  166. bindsym Mod1+space scratchpad show
  167. #bindsym Mod4+i [title="chat"] scratchpad show
  168. bindsym Mod4+minus move scratchpad
  169. # reload the configuration file
  170. bindsym $mod+Shift+C reload
  171. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  172. bindsym $mod+Shift+R restart
  173. # exit i3 (logs you out of your X session)
  174. bindsym $mod+Shift+E exit
  175.  
  176. #lock screen
  177. bindsym Ctrl+Mod1+l exec lock
  178.  
  179. #rotate screen
  180. bindsym XF86Explorer exec rotate
  181.  
  182. #title toggle
  183. bindsym Mod1+t border normal
  184. bindsym Mod1+Shift+T border 1pixel
  185. #bindsym mod+u border none
  186.  
  187. # resize window (you can also use the mouse for that)
  188. mode "resize" {
  189. # These bindings trigger as soon as you enter the resize mode
  190.  
  191. # Pressing left will shrink the window’s width.
  192. # Pressing right will grow the window’s width.
  193. # Pressing up will shrink the window’s height.
  194. # Pressing down will grow the window’s height.
  195. bindsym j resize shrink width 10 px or 10 ppt
  196. bindsym k resize grow height 10 px or 10 ppt
  197. bindsym l resize shrink height 10 px or 10 ppt
  198. bindsym semicolon resize grow width 10 px or 10 ppt
  199.  
  200. # same bindings, but for the arrow keys
  201. bindsym 113 resize shrink width 10 px or 10 ppt
  202. bindsym 116 resize grow height 10 px or 10 ppt
  203. bindsym 111 resize shrink height 10 px or 10 ppt
  204. bindsym 114 resize grow width 10 px or 10 ppt
  205.  
  206. # back to normal: Enter or Escape
  207. bindsym Return mode "default"
  208. bindsym grave mode "default"
  209. }
  210.  
  211. bindsym $mod+r mode "resize"
  212.  
  213. # Start i3bar to display a workspace bar (plus the system information i3status
  214. bar {
  215. workspace_buttons yes
  216. tray_output primary
  217. #status_command i3status conky|dzen2
  218. status_command myi3status
  219.  
  220. #status_command i3status -c ~/.i3status.conf
  221. #position top
  222. mode dock
  223.  
  224. colors {
  225. background #182818
  226. #background #000000
  227. statusline #87AF87
  228. #client.focused #87AF87 #87AF87 #000000 #87AF87
  229. #client.focused_inactive #87AF87 #000000 #87AF87 #87AF87
  230. #client.unfocused #87AF87 #000000 #87B07F #87AF87
  231.  
  232. focused_workspace #000000 #87AF87
  233. active_workspace #ffffff #DA70D6
  234. inactive_workspace #87AF87 #182818
  235. urgent_workspace #ffffff #32CD32
  236. }
  237. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement