zezaocapoeira

~/.i3/config

Jun 10th, 2014
1,087
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. ##======================================================================================
  9. ##======================================================================================
  10. # i3 config file (v4)
  11. #
  12. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  13.  
  14. set $mod Mod4
  15.  
  16. ##======================================================================================
  17. ##======================================================================================
  18.  
  19. # Font for window titles. Will also be used by the bar unless a different font
  20. # is used in the bar {} block below. ISO 10646 = Unicode
  21. #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  22. # The font above is very space-efficient, that is, it looks good, sharp and
  23. # clear in small sizes. However, if you need a lot of unicode glyphs or
  24. # right-to-left text rendering, you should instead use pango for rendering and
  25. # chose a FreeType font, such as:
  26. font pango:Droid Sans Mono 8
  27.  
  28.  
  29. ##======================================================================================
  30. ##======================================================================================
  31.  
  32. # Use Mouse+$mod to drag floating windows to their wanted position
  33. floating_modifier $mod
  34.  
  35.  
  36. ##======================================================================================
  37. ##======================================================================================
  38.  
  39. # start a terminal
  40.  
  41. bindsym $mod+Return exec urxvt -T /bin/zsh
  42.  
  43. ##======================================================================================
  44. ##======================================================================================
  45.  
  46. ## inicio automatico de aplicativos
  47.  
  48. exec --no-startup-id parcellite &
  49. exec --no-startup-id volumeicon
  50. exec --no-startup-id feh --bg-scale /home/zezao-slack/Imagens/slackware_trigo.jpg
  51. exec --no-startup-id xcompmgr -C
  52. exec --no-startup-id xset -dpms; xset s off
  53.  
  54. ##======================================================================================
  55. ##======================================================================================
  56.  
  57. # kill focused window
  58. bindsym $mod+Shift+q kill
  59.  
  60. ##======================================================================================
  61. ##======================================================================================
  62.  
  63. # start dmenu (a program launcher)
  64.  
  65. #bindsym $mod+d exec dmenu_run
  66.  
  67. #bindsym $mod+d exec dmenu_run -fn 'xft:Terminus:pixelsize=12' -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -l 5 -p 'MENU'
  68.  
  69.  
  70. #bindsym $mod+d exec i3-dmenu-desktop --dmenu="/usr/bin/dmenu -i -l 5 -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -p 'MENU'"
  71.  
  72. ## dmenu-modificado ###
  73.  
  74. bindsym $mod+d exec i3-dmenu-desktop --dmenu="/usr/bin/dmenu -i -l 5 -o 0.8 -fn 'Droid Sans Mono Bold-10' -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -p 'MENU➫'"
  75.  
  76. ###
  77. #bindsym $mod+d exec dmenu_run -b -fn -bitstream-*-*-r-*-*-*-120-*-*-*-*-*-* -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -p 'MENU '
  78.  
  79. # There also is the (new) i3-dmenu-desktop which only displays applications
  80. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  81. # installed.
  82. #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  83.  
  84. ##======================================================================================
  85. ##======================================================================================
  86.  
  87.  
  88. # Janelas sem titulos
  89. new_window 1pixel
  90. new_float 1pixel
  91.  
  92. ##======================================================================================
  93. ##======================================================================================
  94.  
  95. # change focus
  96. bindsym $mod+j focus left
  97. bindsym $mod+k focus down
  98. bindsym $mod+l focus up
  99. bindsym $mod+semicolon focus right
  100.  
  101. ##======================================================================================
  102. ##======================================================================================
  103.  
  104. # alternatively, you can use the cursor keys:
  105. bindsym $mod+Left focus left
  106. bindsym $mod+Down focus down
  107. bindsym $mod+Up focus up
  108. bindsym $mod+Right focus right
  109.  
  110. ##======================================================================================
  111. ##======================================================================================
  112.  
  113. # move focused window
  114. bindsym $mod+Shift+j move left
  115. bindsym $mod+Shift+k move down
  116. bindsym $mod+Shift+l move up
  117. bindsym $mod+Shift+semicolon move right
  118.  
  119. ##======================================================================================
  120. ##======================================================================================
  121.  
  122. # alternatively, you can use the cursor keys:
  123. bindsym $mod+Shift+Left move left
  124. bindsym $mod+Shift+Down move down
  125. bindsym $mod+Shift+Up move up
  126. bindsym $mod+Shift+Right move right
  127.  
  128. ##======================================================================================
  129. ##======================================================================================
  130.  
  131. # split in horizontal orientation
  132. bindsym $mod+h split h
  133.  
  134. ##======================================================================================
  135. ##======================================================================================
  136.  
  137. # split in vertical orientation
  138. bindsym $mod+v split v
  139.  
  140. ##======================================================================================
  141. ##======================================================================================
  142.  
  143. # enter fullscreen mode for the focused container
  144. bindsym $mod+f fullscreen
  145.  
  146. ##======================================================================================
  147. ##======================================================================================
  148.  
  149. # change container layout (stacked, tabbed, toggle split)
  150. bindsym $mod+s layout stacking
  151. bindsym $mod+w layout tabbed
  152. bindsym $mod+e layout toggle split
  153.  
  154. ##======================================================================================
  155. ##======================================================================================
  156.  
  157. # toggle tiling / floating
  158. bindsym $mod+Shift+space floating toggle
  159.  
  160. ##======================================================================================
  161. ##======================================================================================
  162.  
  163. # change focus between tiling / floating windows
  164. bindsym $mod+space focus mode_toggle
  165.  
  166. ##======================================================================================
  167. ##======================================================================================
  168.  
  169. # focus the parent container
  170. bindsym $mod+a focus parent
  171.  
  172. ##======================================================================================
  173. ##======================================================================================
  174.  
  175. # focus the child container
  176. #bindsym $mod+d focus child
  177. ##======================================================================================
  178. ##======================================================================================
  179.  
  180. # switch to workspace
  181. bindsym $mod+1 workspace área➫I
  182. bindsym $mod+2 workspace área➫II
  183. bindsym $mod+3 workspace área➫III
  184. bindsym $mod+4 workspace área➫IV
  185. bindsym $mod+5 workspace área➫V
  186. bindsym $mod+6 workspace área➫VI
  187. bindsym $mod+7 workspace área➫VII
  188. bindsym $mod+8 workspace área➫VIII
  189. bindsym $mod+9 workspace área➫IX
  190. bindsym $mod+0 workspace área➫X
  191.  
  192. ##======================================================================================
  193. ##======================================================================================
  194.  
  195. # move focused container to workspace
  196. bindsym $mod+Shift+1 move container to workspace área➫I
  197. bindsym $mod+Shift+2 move container to workspace área➫II
  198. bindsym $mod+Shift+3 move container to workspace área➫III
  199. bindsym $mod+Shift+4 move container to workspace área➫IV
  200. bindsym $mod+Shift+5 move container to workspace área➫V
  201. bindsym $mod+Shift+6 move container to workspace área➫VI
  202. bindsym $mod+Shift+7 move container to workspace área➫VII
  203. bindsym $mod+Shift+8 move container to workspace área➫VIII
  204. bindsym $mod+Shift+9 move container to workspace área➫IX
  205. bindsym $mod+Shift+0 move container to workspace área➫X
  206.  
  207. ##======================================================================================
  208. ##======================================================================================
  209.  
  210. # reload the configuration file
  211. bindsym $mod+Shift+c reload
  212.  
  213. ##======================================================================================
  214. ##======================================================================================
  215.  
  216. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  217. bindsym $mod+Shift+r restart
  218.  
  219. ##======================================================================================
  220. ##======================================================================================
  221.  
  222. # exit i3 (logs you out of your X session)
  223. 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'"
  224.  
  225. ##======================================================================================
  226. ##======================================================================================
  227.  
  228. # resize window (you can also use the mouse for that)
  229. mode "resize" {
  230. # These bindings trigger as soon as you enter the resize mode
  231.  
  232. # Pressing left will shrink the window’s width.
  233. # Pressing right will grow the window’s width.
  234. # Pressing up will shrink the window’s height.
  235. # Pressing down will grow the window’s height.
  236. bindsym j resize shrink width 10 px or 10 ppt
  237. bindsym k resize grow height 10 px or 10 ppt
  238. bindsym l resize shrink height 10 px or 10 ppt
  239. bindsym semicolon resize grow width 10 px or 10 ppt
  240.  
  241. # same bindings, but for the arrow keys
  242. bindsym Left resize shrink width 10 px or 10 ppt
  243. bindsym Down resize grow height 10 px or 10 ppt
  244. bindsym Up resize shrink height 10 px or 10 ppt
  245. bindsym Right resize grow width 10 px or 10 ppt
  246.  
  247. # back to normal: Enter or Escape
  248. bindsym Return mode "default"
  249. bindsym Escape mode "default"
  250. }
  251.  
  252. bindsym $mod+r mode "resize"
  253.  
  254. ##======================================================================================
  255. ##======================================================================================
  256.  
  257.  
  258.  
  259. # cores para i3wm
  260. set $bg #4c7899
  261. set $fg #285577
  262. set $hi #ffffff
  263. set $ac #333333
  264. set $tx #5f676a
  265. set $ia #222222
  266. set $be #888888
  267. set $yw #2f343a
  268. set $gn #5d5d5d
  269. set $rd #900000
  270. set $sa #545454
  271. # set some nice colors border background text
  272.  
  273. client.focused $gn $ia $hi
  274. client.unfocused $ac $sa $be
  275. client.focused_inactive $ac $sa $be
  276. client.urgent $yw $rd $hi
  277.  
  278. # set some nice colors border background text
  279. # Start i3bar to display a workspace bar (plus the system information i3status
  280. # finds out, if available)
  281. bar {
  282. position top
  283. font pango:Droid Sans Mono Bold 8
  284. status_command i3status
  285. colors {
  286. background $ia
  287. statusline $be
  288. separator $gn
  289.  
  290. focused_workspace $gn $ia $hi
  291. active_workspace $ac $sa $be
  292. inactive_workspace $ac $sa $be
  293. urgent_workspace $yw $rd $hi
  294. }
  295. }
  296.  
  297. ##======================================================================================
  298. ##======================================================================================
RAW Paste Data