Guest User

Config i3

a guest
Jul 31st, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.36 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 some time, 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. set $mod Mod4
  13.  
  14. # Font for window titles. Will also be used by the bar unless a different font
  15. # is used in the bar {} block below.
  16. font pango:monospace 8
  17.  
  18. # Configure border style <normal|1pixel|pixel xx|none|pixel>
  19. new_window pixel 5
  20. new_float normal
  21.  
  22. #Esconder bordas na janela unica
  23. hide_edge_borders true
  24.  
  25. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  26. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  27. #font pango:DejaVu Sans Mono 8
  28.  
  29. # Before i3 v4.8, we used to recommend this one as the default:
  30. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  31. # The font above is very space-efficient, that is, it looks good, sharp and
  32. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  33. # X core fonts rendering does not support right-to-left and this being a bitmap
  34. # font, it doesn’t scale on retina/hidpi displays.
  35.  
  36. # Use Mouse+$mod to drag floating windows to their wanted position
  37. floating_modifier $mod
  38.  
  39. ###MEUS ATALHOS###
  40. bindsym $mod+t exec nautilus
  41. bindsym $mod+g exec firefox
  42. #bindsym $mod+Shift+p exec
  43. #bindsym $mod+Shift+s exec
  44. bindsym --release Print exec --no-startup-id scrot %Y-%m-%d-%T.png -e 'mv $f ~/Imagens/'
  45. bindsym $mod+Control+l exec i3lock
  46. #bindsym $mod+Control+d exec
  47.  
  48. # multimedia keys
  49. bindsym XF86AudioPlay exec "mpc toggle"
  50. bindsym XF86AudioStop exec "mpc stop"
  51. bindsym XF86AudioNext exec "mpc next"
  52. bindsym XF86AudioPrev exec "mpc prev"
  53. bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+"
  54. bindsym XF86AudioLowerVolume exec "amixer set Master 5%-"
  55.  
  56. # start a terminal
  57. #bindsym $mod+Return exec i3-sensible-terminal
  58. bindsym $mod+Return exec gnome-terminal
  59.  
  60. # kill focused window
  61. bindsym $mod+Shift+q kill
  62.  
  63. # start dmenu (a program launcher)
  64. bindsym $mod+d exec dmenu_run -o 0.75 -x 800  -y 500 -w 400 -l 5 -h 16 -i -q -fn terminus -nb '#CCCCCC' -nf '#000000' -sb '#BF474D' -sf '#FFFFFF' -p '>_'
  65. # There also is the (new) i3-dmenu-desktop which only displays applications
  66. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  67. # installed.
  68. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  69.  
  70. # change focus
  71. bindsym $mod+j focus left
  72. bindsym $mod+k focus down
  73. bindsym $mod+l focus up
  74. bindsym $mod+ccedilla focus right
  75.  
  76. # alternatively, you can use the cursor keys:
  77. bindsym $mod+Left focus left
  78. bindsym $mod+Down focus down
  79. bindsym $mod+Up focus up
  80. bindsym $mod+Right focus right
  81.  
  82. # move focused window
  83. bindsym $mod+Shift+j move left
  84. bindsym $mod+Shift+k move down
  85. bindsym $mod+Shift+l move up
  86. bindsym $mod+Shift+ccedilla move right
  87.  
  88. # alternatively, you can use the cursor keys:
  89. bindsym $mod+Shift+Left move left
  90. bindsym $mod+Shift+Down move down
  91. bindsym $mod+Shift+Up move up
  92. bindsym $mod+Shift+Right move right
  93.  
  94. # split in horizontal orientation
  95. bindsym $mod+h split h
  96.  
  97. # split in vertical orientation
  98. bindsym $mod+v split v
  99.  
  100. # enter fullscreen mode for the focused container
  101. bindsym $mod+f fullscreen toggle
  102.  
  103. # change container layout (stacked, tabbed, toggle split)
  104. bindsym $mod+s layout stacking
  105. bindsym $mod+w layout tabbed
  106. bindsym $mod+e layout toggle split
  107.  
  108. # toggle tiling / floating
  109. bindsym $mod+Shift+space floating toggle
  110.  
  111. # change focus between tiling / floating windows
  112. bindsym $mod+space focus mode_toggle
  113.  
  114. # focus the parent container
  115. bindsym $mod+a focus parent
  116.  
  117. # focus the child container
  118. #bindsym $mod+d focus child
  119.  
  120. # switch to workspace
  121. bindsym $mod+1 workspace 1
  122. bindsym $mod+2 workspace 2
  123. bindsym $mod+3 workspace 3
  124. bindsym $mod+4 workspace 4
  125. bindsym $mod+5 workspace 5
  126. bindsym $mod+6 workspace 6
  127. bindsym $mod+7 workspace 7
  128. bindsym $mod+8 workspace 8
  129. bindsym $mod+9 workspace 9
  130. bindsym $mod+0 workspace 10
  131.  
  132. #navigate workspaces next / previous
  133. bindsym $mod+Ctrl+Right workspace next
  134. bindsym $mod+Ctrl+Left workspace prev
  135.  
  136. bindsym $mod+Ctrl+1 move container to workspace 1
  137. bindsym $mod+Ctrl+2 move container to workspace 2
  138. bindsym $mod+Ctrl+3 move container to workspace 3
  139. bindsym $mod+Ctrl+4 move container to workspace 4
  140. bindsym $mod+Ctrl+5 move container to workspace 5
  141. bindsym $mod+Ctrl+6 move container to workspace 6
  142. bindsym $mod+Ctrl+7 move container to workspace 7
  143. bindsym $mod+Ctrl+8 move container to workspace 8
  144. bindsym $mod+Ctrl+9 move container to workspace 9
  145. bindsym $mod+Ctrl+0 move container to workspace 10
  146.  
  147. # Move to workspace with focused container
  148. bindsym $mod+Shift+1 move container to workspace 1
  149. bindsym $mod+Shift+2 move container to workspace 2
  150. bindsym $mod+Shift+3 move container to workspace 3
  151. bindsym $mod+Shift+4 move container to workspace 4
  152. bindsym $mod+Shift+5 move container to workspace 5
  153. bindsym $mod+Shift+6 move container to workspace 6
  154. bindsym $mod+Shift+7 move container to workspace 7
  155. bindsym $mod+Shift+8 move container to workspace 8
  156. bindsym $mod+Shift+9 move container to workspace 9
  157. bindsym $mod+Shift+0 move container to workspace 10
  158.  
  159. # reload the configuration file
  160. bindsym $mod+Shift+c reload
  161. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  162. bindsym $mod+Shift+r restart
  163. # exit i3 (logs you out of your X session)
  164. 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'"
  165.  
  166. # resize window (you can also use the mouse for that)
  167. mode "resize" {
  168.         # These bindings trigger as soon as you enter the resize mode
  169.  
  170.         # Pressing left will shrink the window’s width.
  171.         # Pressing right will grow the window’s width.
  172.         # Pressing up will shrink the window’s height.
  173.         # Pressing down will grow the window’s height.
  174.         bindsym j resize shrink width 10 px or 10 ppt
  175.         bindsym k resize grow height 10 px or 10 ppt
  176.         bindsym l resize shrink height 10 px or 10 ppt
  177.         bindsym ccedilla resize grow width 10 px or 10 ppt
  178.  
  179.         # same bindings, but for the arrow keys
  180.         bindsym Left resize shrink width 10 px or 10 ppt
  181.         bindsym Down resize grow height 10 px or 10 ppt
  182.         bindsym Up resize shrink height 10 px or 10 ppt
  183.         bindsym Right resize grow width 10 px or 10 ppt
  184.  
  185.         # back to normal: Enter or Escape
  186.         bindsym Return mode "default"
  187.         bindsym Escape mode "default"
  188. }
  189.  
  190. bindsym $mod+r mode "resize"
  191.  
  192. # Start i3bar to display a workspace bar (plus the system information i3status
  193. # finds out, if available)
  194. bar {
  195.     #status_command i3status
  196.     status_command i3blocks -c ~/.config/i3/i3blocks.conf
  197.     position top
  198.     #position bottom
  199.     #wheel_up_cmd nop
  200.     #wheel_down_cmd nop
  201.     font pango:Terminus,Icons 11.5
  202.     #font pango:Fantasque Sans Mono 11
  203.     #font pango:Roboto Mono for Powerline 11
  204.     #separator_symbol "."
  205.     colors {
  206.         separator #6E6E6E
  207.         background #161616
  208.         statusline #FFFFFF
  209.        # class              border  backgrd text
  210.                focused_workspace  #83FF93 #222222 #eeeeee
  211.                active_workspace   #565656 #444444 #eeeeee
  212.                inactive_workspace #FF6363 #222222 #bbbbbb
  213.                urgent_workspace   #7E1919 #770000 #eeeeee
  214.     }
  215. }
  216.  
  217. # Theme colors
  218. #class                  border   backgr.  text  indicator
  219. client.focused          #7f8f9f #C0C0C0 #000000 #cad0c4
  220. client.focused_inactive #000000 #161616 #2D2D2D
  221. client.unfocused        #000000 #161616 #605e56
  222. client.urgent           #a5a5a5 #a5a5a5 #1E1E1E
  223. client.background       #161616
  224.  
  225. # Aplicações Iniciadas junto com o sistema
  226. #exec --no-startup-id
  227. #exec --no-startup-id
  228. exec --no-startup-id nitrogen --restore
  229. exec --no-startup-id compton &
  230. #exec --no-startup-id nm-applet &
  231. #exec --no-startup-id conky --pause 5
  232. #exec --no-startup-id mpd
  233.  
  234. # Aplições abertar em modo Floating
  235. for_window [class="Nitrogen"] floating enable sticky enable border normal
  236.  
  237. #Volume Control
  238. bindsym $mod+F11 exec amixer set Master 5%-
  239. bindsym $mod+F12 exec amixer set Master 5%+
  240.  
  241. #Brightness Control
  242. bindsym $mod+F5 exec xbacklight -dec 10
  243. bindsym $mod+F6 exec xbacklight -inc 10t
Advertisement
Add Comment
Please, Sign In to add comment