Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. ### i3 config file (v4)
  2.  
  3. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  4.  
  5. ### appearance
  6.  
  7. # i3client colors
  8. # class border backgr. text indicator
  9. client.focused #7AA2D1 #7AA2D1 #ffffff #7AA2D1
  10. client.focused_inactive #CFCCCA #CFCCCA #000000 #CFCCCA
  11. client.unfocused #E8E6E5 #E8E6E5 #000000 #E8E6E5
  12. client.urgent #D22113 #D22113 #ffffff #D22113-
  13.  
  14.  
  15.  
  16. # i3client borders
  17. new_window 1pixel
  18. new_float 1pixel
  19. hide_edge_borders both
  20.  
  21.  
  22. # font
  23. #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  24. #font pango:Fixed
  25.  
  26. # Start i3bar to display a workspace bar (plus the system information i3status
  27. # finds out, if available)
  28. bar {
  29. status_command i3status
  30.  
  31. colors {
  32. background #EDECEB
  33. statusline #000000
  34. separator #7AA2D1
  35.  
  36. focused_workspace #7AA2D1 #7AA2D1 #ffffff
  37. active_workspace #E8E6E5 #E8E6E5 #000000
  38. inactive_workspace #E8E6E5 #E8E6E5 #000000
  39. urgent_workspace #D22113 #D22113 #ffffff
  40. }
  41. }
  42.  
  43. # wallpaper
  44. #exec feh --bg-fill /path/to/file
  45.  
  46. ### behavior
  47.  
  48. exec vmware-user --no-startup-id
  49.  
  50. ### keybindings
  51.  
  52. # modkey
  53. set $mod Mod4
  54.  
  55. # use Mouse+$mod to drag floating windows to their wanted position
  56. floating_modifier $mod
  57.  
  58. # start a terminal
  59. #bindsym $mod+Return exec i3-sensible-terminal
  60. bindsym $mod+Return exec urxvt
  61.  
  62. # kill focused window
  63. bindsym $mod+q kill
  64.  
  65. # start dmenu (a program launcher)
  66. bindsym $mod+m exec dmenu_run
  67.  
  68. # change focus
  69. bindsym $mod+h focus left
  70. bindsym $mod+j focus down
  71. bindsym $mod+k focus up
  72. bindsym $mod+l focus right
  73.  
  74. # alternatively, you can use the cursor keys:
  75. bindsym $mod+Left focus left
  76. bindsym $mod+Down focus down
  77. bindsym $mod+Up focus up
  78. bindsym $mod+Right focus right
  79.  
  80. # move focused window
  81. bindsym $mod+Shift+h move left
  82. bindsym $mod+Shift+j move down
  83. bindsym $mod+Shift+k move up
  84. bindsym $mod+Shift+l move right
  85.  
  86. # alternatively, you can use the cursor keys:
  87. bindsym $mod+Shift+Left move left
  88. bindsym $mod+Shift+Down move down
  89. bindsym $mod+Shift+Up move up
  90. bindsym $mod+Shift+Right move right
  91.  
  92. # split in horizontal orientation
  93. bindsym $mod+backslash split h
  94.  
  95. # split in vertical orientation
  96. bindsym $mod+minus split v
  97.  
  98. # enter fullscreen mode for the focused container
  99. bindsym $mod+f fullscreen
  100.  
  101. # change container layout (stacked, tabbed, toggle split)
  102. bindsym $mod+s layout stacking
  103. bindsym $mod+w layout tabbed
  104. bindsym $mod+e layout toggle split
  105.  
  106. # toggle tiling / floating
  107. bindsym $mod+x floating toggle
  108.  
  109. # change focus between tiling / floating windows
  110. bindsym $mod+Shift+x focus mode_toggle
  111.  
  112. # focus the parent container
  113. bindsym $mod+a focus parent
  114.  
  115. # focus the child container
  116. bindsym $mod+c focus child
  117.  
  118. # switch to workspace
  119. bindsym $mod+1 workspace 1
  120. bindsym $mod+2 workspace 2
  121. bindsym $mod+3 workspace 3
  122. bindsym $mod+4 workspace 4
  123. bindsym $mod+5 workspace 5
  124. bindsym $mod+6 workspace 6
  125. bindsym $mod+7 workspace 7
  126. bindsym $mod+8 workspace 8
  127. bindsym $mod+9 workspace 9
  128. bindsym $mod+0 workspace 10
  129.  
  130. # move focused container to workspace
  131. bindsym $mod+Shift+1 move container to workspace 1
  132. bindsym $mod+Shift+2 move container to workspace 2
  133. bindsym $mod+Shift+3 move container to workspace 3
  134. bindsym $mod+Shift+4 move container to workspace 4
  135. bindsym $mod+Shift+5 move container to workspace 5
  136. bindsym $mod+Shift+6 move container to workspace 6
  137. bindsym $mod+Shift+7 move container to workspace 7
  138. bindsym $mod+Shift+8 move container to workspace 8
  139. bindsym $mod+Shift+9 move container to workspace 9
  140. bindsym $mod+Shift+0 move container to workspace 10
  141.  
  142. # reload the configuration file
  143. bindsym $mod+Shift+c reload
  144. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  145. bindsym $mod+Shift+r restart
  146. # exit i3 (logs you out of your X session)
  147. 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'"
  148.  
  149. # resize window (you can also use the mouse for that)
  150. mode "resize" {
  151. # These bindings trigger as soon as you enter the resize mode
  152.  
  153. # Pressing left will shrink the window’s width.
  154. # Pressing right will grow the window’s width.
  155. # Pressing up will shrink the window’s height.
  156. # Pressing down will grow the window’s height.
  157. bindsym h resize shrink width 10 px or 10 ppt
  158. bindsym j resize grow height 10 px or 10 ppt
  159. bindsym k resize shrink height 10 px or 10 ppt
  160. bindsym l resize grow width 10 px or 10 ppt
  161.  
  162. # same bindings, but for the arrow keys
  163. bindsym Left resize shrink width 10 px or 10 ppt
  164. bindsym Down resize grow height 10 px or 10 ppt
  165. bindsym Up resize shrink height 10 px or 10 ppt
  166. bindsym Right resize grow width 10 px or 10 ppt
  167.  
  168. # back to normal: Enter or Escape
  169. bindsym Return mode "default"
  170. bindsym Escape mode "default"
  171. }
  172.  
  173. # resize mode
  174. bindsym $mod+r mode "resize"
  175.  
  176. # previous workspace
  177. bindsym $mod+comma workspace prev
  178. # next workspace
  179. bindsym $mod+period workspace next
  180. # switch workspace back and forth
  181. bindsym $mod+slash workspace back_and_forth
  182.  
  183. # make the currently focused window a scratchpad
  184. bindsym $mod+Shift+space move scratchpad
  185.  
  186. # show the first scratchpad window
  187. bindsym $mod+space scratchpad show
  188.  
  189. # rofi window
  190. bindsym $mod+Tab exec rofi -now
  191.  
  192. # rofi run
  193. bindsym $mod+Escape exec rofi -rnow
  194.  
  195. # rofi ssh
  196. bindsym $mod+Ctrl+s exec rofi -snow
  197.  
  198. # run i3lock
  199. bindsym $mod+Ctrl+l exec i3lock -d -c 000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement