Guest User

i3-config-numix

a guest
Sep 11th, 2014
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.40 KB | None | 0 0
  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. # Keymap
  13. setxkbmap br
  14.  
  15. set $mod Mod4
  16. #set $control ~/.i3/workspace_controller.py
  17.  
  18. # Workspace padrão
  19. exec --no-startup-id i3-msg "workspace 1."
  20.  
  21. ## Automatic back-and-forth when switching to the current workspace
  22. workspace_auto_back_and_forth yes
  23.  
  24. # border / titlebar - largura da borda
  25. new_window normal
  26. hide_edge_borders vertical
  27. bindsym Control+Shift+x [class="^.*"] border toggle
  28. for_window [class="^.*"] border pixel 2
  29. for_window [class="URxvt"] border normal
  30.  
  31.  
  32. # Font for window titles. Will also be used by the bar unless a different font
  33. # is used in the bar {} block below. ISO 10646 = Unicode
  34. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  35. # The font above is very space-efficient, that is, it looks good, sharp and
  36. # clear in small sizes. However, if you need a lot of unicode glyphs or
  37. # right-to-left text rendering, you should instead use pango for rendering and
  38. # chose a FreeType font, such as:
  39. #font pango: Ubuntu Mono 10
  40. #font pango:terminus, Icons 10
  41.  
  42. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  43. font pango:DejaVu Sans Mono 10
  44. font pango:DejaVu Sans Mono, Terminus Bold Semi-Condensed 11
  45. font pango:Terminus 11px, Icons 10
  46.  
  47. # Use Mouse+$mod to drag floating windows to their wanted position
  48. floating_modifier $mod
  49.  
  50. # start a terminal
  51. bindsym $mod+Return exec terminator
  52.  
  53. # kill focused window
  54. bindsym $mod+q kill
  55.  
  56. # start dmenu (a program launcher)
  57. # bindsym $mod+d exec dmenu_run
  58. #bindsym $mod+d exec dmenu_run -b -fn 'xft:Terminus:pixelsize=8' -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -p 'Selecione uma opção >> '
  59. bindsym $mod+d exec dmenu_run -b -fn 'xft:Terminus:pixelsize=18' -nb '#191919' -nf '#9ac0cd' -sb '#191919' -sf '#bf3f34' -l 8 -p 'Selecione o programa >> '
  60.  
  61. # There also is the (new) i3-dmenu-desktop which only displays applications
  62. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  63. # installed.
  64. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  65.  
  66.  
  67. # change focus
  68. bindsym $mod+j focus left
  69. bindsym $mod+k focus down
  70. bindsym $mod+l focus up
  71. bindsym $mod+ccedilla focus right
  72.  
  73. # alternatively, you can use the cursor keys:
  74. #bindsym $mod+Left focus left
  75. #bindsym $mod+Down focus down
  76. #bindsym $mod+Up focus up
  77. #bindsym $mod+Right focus right
  78.  
  79. #----------------------------------------------
  80.  
  81. # mover entre workspaces
  82. bindsym $mod+Left workspace prev
  83. bindsym $mod+Right workspace next
  84.  
  85. # move focused window
  86. bindsym $mod+Shift+Left move left
  87. bindsym $mod+Shift+Down move down
  88. bindsym $mod+Shift+Up move up
  89. bindsym $mod+Shift+Right move right
  90.  
  91. #----------------------------------------------
  92.  
  93. # split in horizontal orientation
  94. bindsym $mod+h split h
  95.  
  96. # split in vertical orientation
  97. bindsym $mod+v split v
  98.  
  99. # enter fullscreen mode for the focused container
  100. bindsym $mod+f fullscreen
  101.  
  102. # change container layout (stacked, tabbed, toggle split)
  103. bindsym $mod+s layout stacking
  104. bindsym $mod+w layout tabbed
  105. bindsym $mod+e layout toggle split
  106.  
  107. # toggle tiling / floating
  108. #bindsym $mod+Shift+space floating toggle
  109. bindsym $mod+Shift+space floating toggle, border normal
  110.  
  111. # Floating popup
  112. for_window [window_role="pop-up"] floating enable
  113.  
  114.  
  115. # change focus between tiling / floating windows
  116. bindsym $mod+space focus mode_toggle
  117.  
  118. # focus the parent container
  119. bindsym $mod+a focus parent
  120.  
  121. # foco de aplicativo aberto na mesma workspace
  122. bindsym $mod+Tab focus right
  123.  
  124. # switch to workspace
  125. bindsym $mod+1 workspace 1.
  126. bindsym $mod+2 workspace 2. ; exec firefox
  127. bindsym $mod+3 workspace 3.; exec terminator
  128. bindsym $mod+4 workspace 4.; exec nautilus
  129. bindsym $mod+5 workspace 5., exec gvim
  130. bindsym $mod+6 workspace 6.; exec gedit
  131. bindsym $mod+7 workspace 7.; exec libreoffice
  132. bindsym $mod+8 workspace 8.; exec gnome-calculator
  133. bindsym $mod+9 workspace 9.; exec lxappearance
  134. bindsym $mod+0 workspace 10.; exec rhythmbox
  135.  
  136. # Screenshot: FN + Print Screen
  137. bindsym Print exec "scrot '%d.%m.%Y_%H.%M_screenshot.png' -e 'mv $f ~/Screenshots/'
  138.  
  139. # switch to workspace
  140. #bindsym $mod+1 workspace 1
  141. #bindsym $mod+2 workspace 2
  142. #bindsym $mod+3 workspace 3
  143. #bindsym $mod+4 workspace 4
  144. #bindsym $mod+5 workspace 5
  145. #bindsym $mod+6 workspace 6
  146. #bindsym $mod+7 workspace 7
  147. #bindsym $mod+8 workspace 8
  148. #bindsym $mod+9 workspace 9
  149. #bindsym $mod+0 workspace 10
  150.  
  151.  
  152. # Inicialização (para iniciar com o sistema)
  153. #exec --no-startup-id i3-msg 'workspace Firefox; exec firefox'
  154. #exec --no-startup-id i3-msg 'workspace Terminal; exec terminator'
  155. #exec --no-startup-id i3-msg 'workspace Nautilus; exec nautilus'
  156. #exec --no-startup-id i3-msg 'workspace GVim; exec gvim'
  157.  
  158. # move focused container to workspace
  159. bindsym $mod+Shift+1 move container to workspace 1
  160. bindsym $mod+Shift+2 move container to workspace 2
  161. bindsym $mod+Shift+3 move container to workspace 3
  162. bindsym $mod+Shift+4 move container to workspace 4
  163. bindsym $mod+Shift+5 move container to workspace 5
  164. bindsym $mod+Shift+6 move container to workspace 6
  165. bindsym $mod+Shift+7 move container to workspace 7
  166. bindsym $mod+Shift+8 move container to workspace 8
  167. bindsym $mod+Shift+9 move container to workspace 9
  168. bindsym $mod+Shift+0 move container to workspace 10
  169.  
  170. bindsym $mod+period workspace next
  171. bindsym $mod+comma workspace prev
  172.  
  173.  
  174. # reload the configuration file
  175. bindsym $mod+Shift+c reload
  176. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  177. bindsym $mod+Shift+r restart
  178.  
  179. # exit i3 (logs you out of your X session)
  180. bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Você quer realmente sair do i3-WM?' -b 'Sim' 'i3-msg exit'"
  181. # exit i3 (logs you out of your X session) - sem confirmação
  182. #bindsym $mod+Shift+e exit
  183.  
  184. # resize window (you can also use the mouse for that)
  185. mode "resize" {
  186. # These bindings trigger as soon as you enter the resize mode
  187.  
  188. # Pressing left will shrink the window’s width.
  189. # Pressing right will grow the window’s width.
  190. # Pressing up will shrink the window’s height.
  191. # Pressing down will grow the window’s height.
  192. bindsym j resize shrink width 10 px or 10 ppt
  193. bindsym k resize grow height 10 px or 10 ppt
  194. bindsym l resize shrink height 10 px or 10 ppt
  195. bindsym ccedilla resize grow width 10 px or 10 ppt
  196.  
  197. # same bindings, but for the arrow keys
  198. bindsym Left resize shrink width 10 px or 10 ppt
  199. bindsym Down resize grow height 10 px or 10 ppt
  200. bindsym Up resize shrink height 10 px or 10 ppt
  201. bindsym Right resize grow width 10 px or 10 ppt
  202.  
  203. # back to normal: Enter or Escape
  204. bindsym Return mode "default"
  205. bindsym Escape mode "default"
  206. }
  207.  
  208. bindsym $mod+r mode "resize"
  209.  
  210. # Start i3bar to display a workspace bar (plus the system information i3status
  211. # finds out, if available)
  212.  
  213. # Top bar
  214. bar {
  215. position top
  216. workspace_buttons yes
  217. #status_command i3status --config ~/.i3status.conf
  218. #font -*-cure-medium-*-*-*-11-*-*-*-*-*-*-*
  219. #font pango:DejaVu Sans Mono, Icons 10
  220. font pango:terminus, Icons 10
  221.  
  222. colors {
  223. # Numix
  224. background #2d2d2d
  225. statusline #dedede
  226. separator #2d2d2d
  227. focused_workspace #d64937 #d64937 #dedede
  228. active_workspace #2d2d2d #5f676a #dedede
  229. inactive_workspace #2d2d2d #2d2d2d #888888
  230. urgent_workspace #333333 #900000 #ffffff
  231. }
  232. }
  233.  
  234. # Bottom bar:
  235. bar {
  236. mode dock
  237. position bottom
  238. workspace_buttons no
  239. status_command ~/bin/conky-i3.sh
  240. tray_output none
  241. colors {
  242. #Numix
  243. background #2d2d2d
  244. statusline #dedede
  245. }
  246. }
  247.  
  248. # borders
  249. new_float normal 1
  250. new_window pixel 1
  251. hide_edge_borders none
  252.  
  253.  
  254. ### início automático
  255. #exec --no-startup-id parcellite &
  256. #exec --no-startup-id indicator-multiload
  257. exec --no-startup-id volumeicon #para ubuntu use volumeicon-alsa
  258. exec --no-startup-id nm-applet
  259. exec --no-startup-id xcompmgr -C
  260. exec --no-startup-id feh --bg-scale /home/izaias/Imagens/71.png
  261. exec --no-startup-id hp-systray
  262. exec --no-startup-id indicator-cpufreq
  263. exec --no-startup-id indicator-keylock
  264. exec ~/.dropbox-dist/dropboxd
  265. exec xscreensaver -no-splash
  266. exec --no-startup-id numlockx on
  267. exec --no-startup-id conky
  268. exec --no-startup-id solaar
  269. exec --no-startup-id orage
  270. exec --no-startup-id /usr/bin/canberra-gtk-play -f /usr/share/sounds/desktop-login2.ogg
  271. exec --no-startup-id radiotray
  272. exec --no-startup-id caffeine-plus
  273. exec --no-startup-id /opt/copy-client/CopyAgent
  274. #exec --no-startup-id skype
  275.  
  276.  
  277. # color defines for i3
  278. #set $bg #4c7899
  279. #set $fg #285577
  280. #set $hi #ffffff
  281. #set $ac #333333
  282. #set $tx #5f676a
  283. #set $ia #222222
  284. #set $be #888888
  285. #set $yw #2f343a
  286. #set $gn #5d5d5d
  287. #set $rd #900000
  288. #set $sa #545454
  289.  
  290.  
  291. #class (Numix) border background text
  292.  
  293. client.focused #d64937 #d64937 #dedede
  294. client.unfocused #333333 #333333 #dedede
  295. client.focused_inactive #333333 #333333 #dedede
  296. client.urgent #383a3b #383a3b #ee0000
Advertisement
Add Comment
Please, Sign In to add comment