Guest User

Untitled

a guest
Mar 1st, 2014
200
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set $mod Mod4
  2.  
  3. floating_modifier $mod
  4.  
  5. #class backgr. border text
  6. client.focused #002b36 #268bd2 #825969
  7. client.focused_inactive #002b36 #657b83 #999999
  8. client.unfocused #002b36 #073642 #999999
  9. client.urgent #002b36 #859900 #2e3436
  10. client.background #002b36
  11.  
  12. bindsym $mod+Return exec ~/scripts/urxvt
  13.  
  14. # kill focused window
  15. bindsym $mod+Shift+q kill
  16.  
  17. # start dmenu (a program launcher)
  18. bindsym $mod+d exec dmenu_run -p 'Hello:' -h 16 -fn Consolas-10 -nb '#002b36' -sb '#002b36' -nf '#657b83' -sf '#268bd2'
  19.  
  20. # change focus
  21. bindsym $mod+j focus left
  22. bindsym $mod+k focus down
  23. bindsym $mod+l focus up
  24. bindsym $mod+semicolon focus right
  25.  
  26. # alternatively, you can use the cursor keys:
  27. bindsym $mod+Left focus left
  28. bindsym $mod+Down focus down
  29. bindsym $mod+Up focus up
  30. bindsym $mod+Right focus right
  31.  
  32. # move focused window
  33. bindsym $mod+Shift+j move left
  34. bindsym $mod+Shift+k move down
  35. bindsym $mod+Shift+l move up
  36. bindsym $mod+Shift+semicolon move right
  37.  
  38. # alternatively, you can use the cursor keys:
  39. bindsym $mod+Shift+Left move left
  40. bindsym $mod+Shift+Down move down
  41. bindsym $mod+Shift+Up move up
  42. bindsym $mod+Shift+Right move right
  43.  
  44. # split in horizontal orientation
  45. bindsym $mod+h split h
  46.  
  47. # split in vertical orientation
  48. bindsym $mod+v split v
  49.  
  50. # enter fullscreen mode for the focused container
  51. bindsym $mod+f fullscreen
  52.  
  53. # change container layout (stacked, tabbed, toggle split)
  54. bindsym $mod+s layout stacking
  55. bindsym $mod+w layout tabbed
  56. bindsym $mod+e layout toggle split
  57.  
  58. # toggle tiling / floating
  59. bindsym $mod+Shift+space floating toggle
  60.  
  61. # change focus between tiling / floating windows
  62. bindsym $mod+space focus mode_toggle
  63.  
  64. # focus the parent container
  65. bindsym $mod+a focus parent
  66.  
  67. # focus the child container
  68. #bindsym $mod+d focus child
  69.  
  70. # switch to workspace
  71. bindsym $mod+1 workspace 1:www
  72. bindsym $mod+2 workspace 2:dev
  73. bindsym $mod+3 workspace 3:media
  74. bindsym $mod+4 workspace 4:chats
  75. bindsym $mod+5 workspace 5:steam
  76. bindsym $mod+6 workspace 6:game
  77. bindsym $mod+7 workspace 7
  78. bindsym $mod+8 workspace 8
  79. bindsym $mod+9 workspace 9
  80. bindsym $mod+0 workspace 10
  81.  
  82. # move focused container to workspace
  83. bindsym $mod+Shift+1 move container to workspace 1:www
  84. bindsym $mod+Shift+2 move container to workspace 2:dev
  85. bindsym $mod+Shift+3 move container to workspace 3:media
  86. bindsym $mod+Shift+4 move container to workspace 4:chats
  87. bindsym $mod+Shift+5 move container to workspace 5:steam
  88. bindsym $mod+Shift+6 move container to workspace 6:game
  89. bindsym $mod+Shift+7 move container to workspace 7
  90. bindsym $mod+Shift+8 move container to workspace 8
  91. bindsym $mod+Shift+9 move container to workspace 9
  92. bindsym $mod+Shift+0 move container to workspace 10
  93.  
  94. bindsym XF86AudioRaiseVolume exec "amixer sset Master 5%+"
  95. bindsym XF86AudioLowerVolume exec "amixer sset Master 5%-"
  96. bindsym XF86AudioPlay exec "deadbeef --play-pause"
  97. bindsym XF86AudioPrev exec "deadbeef --prev"
  98. bindsym XF86AudioNext exec "deadbeef --next"
  99. bindsym Print exec "scrot '%m-%d-%H:%M:%S_screen.png' -e '~/scripts/png_shrink.py $f; mv $f ~/scrot'"
  100.  
  101. assign [class="^Firefox$"] → 1:www
  102. assign [class="^Subl3$"] → 2:dev
  103. assign [class="^jetbrains-pycharm$"] → 2:dev
  104. assign [class="^Transmission-gtk$"] → 3:media
  105. assign [class="^Deadbeef$"] → 3:media
  106. assign [class="^Vlc$"] → 3:media
  107. assign [class="^mplayer2$"] → 3:media
  108. assign [class="^Gimp$"] → 3:media
  109. assign [class="^Gajim$"] → 4:chats
  110. assign [class="^Steam$"] → 5:steam
  111. assign [class="^hl2_linux$"] → 6:game
  112. assign [class="^Wine$" instance="^Steam.exe$"] → 5:steam
  113. assign [class="^Wine$"] → 6:game
  114.  
  115. # for_window [class="^Vlc$"] floating enable
  116. # for_window [class="^Wine$"] floating enable
  117. # for_window [class="^Steam$"] floating enable
  118.  
  119. for_window [class="^Wine$" instance="^Tqit.exe$"] floating enable
  120. for_window [class="^Wine$" instance="^CivilizationV.exe$"] floating enable
  121. for_window [class="^lxappearance$"] floating enable
  122. for_window [title="Tiny ship"] floating enable
  123.  
  124. # reload the configuration file
  125. bindsym $mod+Shift+c reload
  126. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  127. bindsym $mod+Shift+r restartq
  128. # exit i3 (logs you out of your X session)
  129. 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' 'i3-msg exit'"
  130.  
  131. mode "resize" {
  132. bindsym j resize shrink width 10 px or 10 ppt
  133. bindsym k resize grow height 10 px or 10 ppt
  134. bindsym l resize shrink height 10 px or 10 ppt
  135. bindsym semicolon resize grow width 10 px or 10 ppt
  136.  
  137. bindsym Left resize shrink width 10 px or 10 ppt
  138. bindsym Down resize grow height 10 px or 10 ppt
  139. bindsym Up resize shrink height 10 px or 10 ppt
  140. bindsym Right resize grow width 10 px or 10 ppt
  141.  
  142. bindsym Return mode "default"
  143. bindsym Escape mode "default"
  144. }
  145.  
  146. bindsym $mod+r mode "resize"
  147.  
  148. font pango:Consolas 10
  149.  
  150. new_window 1pixel
  151. new_float 1pixel
  152.  
  153. # Start i3bar to display a workspace bar (plus the system information i3status
  154. # finds out, if available)
  155. bar {
  156. status_command ~/scripts/dzenrc
  157. position top
  158.  
  159. colors {
  160. background #002b36
  161. statusline #657b83
  162. separator #268bd2
  163.  
  164. # class border backgr. text
  165. focused_workspace #002b36 #002b36 #268bd2
  166. active_workspace #002b36 #002b36 #859900
  167. inactive_workspace #002b36 #002b36 #657b83
  168. urgent_workspace #002b36 #002b36 #859900
  169. }
  170. }
  171.  
  172. exec --no-startup-id setxkbmap -layout 'us,ru' -option 'grp:caps_toggle,grp_led:scroll'
  173. exec --no-startup-id sh ~/.fehbgq
RAW Paste Data