Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.48 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:envypn 8
  17.  
  18. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  19. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  20. #font pango:DejaVu Sans Mono 8
  21.  
  22. # Before i3 v4.8, we used to recommend this one as the default:
  23. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  24. # The font above is very space-efficient, that is, it looks good, sharp and
  25. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  26. # X core fonts rendering does not support right-to-left and this being a bitmap
  27. # font, it doesn’t scale on retina/hidpi displays.
  28.  
  29. # Use Mouse+$mod to drag floating windows to their wanted position
  30. floating_modifier $mod
  31.  
  32. # start a terminal
  33. bindsym $mod+b exec "i3-sensible-terminal"
  34. bindsym $mod+shift+b exec "cool-retro-term"
  35. bindsym $mod+shift+l exec "i3lock -f"
  36. # kill focused window
  37. bindsym $mod+Shift+q kill
  38.  
  39. # start dmenu (a program launcher)
  40. bindsym $mod+e exec  dmenu_run -nb "#231200" -nf "#4EA667" -sb "#AE6129"
  41. # There also is the (new) i3-dmenu-desktop which only displays applications
  42. bindsym $mod+Shift+e exec i3-dmenu-desktop --dmenu='dmenu -i -nb "#000020" -nf "#2A7CFF" -sb "#FF7E66" -sf "#55298F"'
  43. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  44. # installed.
  45. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  46.  
  47. # change focus
  48. bindsym $mod+h focus left
  49. bindsym $mod+t focus down
  50. bindsym $mod+n focus up
  51. bindsym $mod+s focus right
  52.  
  53. # alternatively, you can use the cursor keys:
  54. bindsym $mod+Left focus left
  55. bindsym $mod+Down focus down
  56. bindsym $mod+Up focus up
  57. bindsym $mod+Right focus right
  58.  
  59. # move focused window
  60. bindsym $mod+Shift+h move left
  61. bindsym $mod+Shift+t move down
  62. bindsym $mod+Shift+n move up
  63. bindsym $mod+Shift+s move right
  64.  
  65. # alternatively, you can use the cursor keys:
  66. bindsym $mod+Shift+Left move left
  67. bindsym $mod+Shift+Down move down
  68. bindsym $mod+Shift+Up move up
  69. bindsym $mod+Shift+Right move right
  70.  
  71. # split in horizontal orientation
  72. bindsym $mod+d split h
  73.  
  74. # split in vertical orientation
  75. bindsym $mod+x split v
  76.  
  77. # enter fullscreen mode for the focused container
  78. bindsym $mod+u fullscreen toggle
  79.  
  80. # change container layout (stacked, tabbed, toggle split)
  81. bindsym $mod+o layout stacking
  82. bindsym $mod+c layout tabbed
  83. bindsym $mod+l layout toggle split
  84.  
  85. # toggle tiling / floating
  86. bindsym $mod+Shift+space floating toggle
  87.  
  88. # change focus between tiling / floating windows
  89. bindsym $mod+space focus mode_toggle
  90.  
  91. # focus the parent container
  92. bindsym $mod+a focus parent
  93.  
  94. # focus the child container
  95. #bindsym $mod+d focus child
  96.  
  97. # switch to workspace
  98. bindsym $mod+1 workspace 1
  99. bindsym $mod+2 workspace 2
  100. bindsym $mod+3 workspace 3
  101. bindsym $mod+4 workspace 4
  102. bindsym $mod+5 workspace 5
  103. bindsym $mod+6 workspace 6
  104. bindsym $mod+7 workspace 7
  105. bindsym $mod+8 workspace 8
  106. bindsym $mod+9 workspace 9
  107. bindsym $mod+0 workspace 10
  108.  
  109. # move focused container to workspace
  110. bindsym $mod+Shift+1 move container to workspace 1
  111. bindsym $mod+Shift+2 move container to workspace 2
  112. bindsym $mod+Shift+3 move container to workspace 3
  113. bindsym $mod+Shift+4 move container to workspace 4
  114. bindsym $mod+Shift+5 move container to workspace 5
  115. bindsym $mod+Shift+6 move container to workspace 6
  116. bindsym $mod+Shift+7 move container to workspace 7
  117. bindsym $mod+Shift+8 move container to workspace 8
  118. bindsym $mod+Shift+9 move container to workspace 9
  119. bindsym $mod+Shift+0 move container to workspace 10
  120.  
  121. # reload the configuration file
  122. bindsym $mod+Shift+j reload
  123. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  124. bindsym $mod+Shift+p restart
  125. # exit i3 (logs you out of your X session)
  126. bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Dok you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
  127.  
  128. # resize window (you can also use the mouse for that)
  129. mode "resize" {
  130.         # These bindings trigger as soon as you enter the resize mode
  131.  
  132.         # Pressing left will shrink the window’s width.
  133.         # Pressing right will grow the window’s width.
  134.         # Pressing up will shrink the window’s height.
  135.         # Pressing down will grow the window’s height.
  136.         bindsym h resize shrink width 5 px or 5 ppt
  137.         bindsym t resize grow height 5 px or 5 ppt
  138.         bindsym n resize shrink height 5 px or 5 ppt
  139.         bindsym s resize grow width 5 px or 5 ppt
  140.  
  141.         # same bindings, but for the arrow keys
  142.         bindsym Left resize shrink width 10 px or 10 ppt
  143.         bindsym Down resize grow height 10 px or 10 ppt
  144.         bindsym Up resize shrink height 10 px or 10 ppt
  145.         bindsym Right resize grow width 10 px or 10 ppt
  146.  
  147.         # back to normal: Enter or Escape
  148.         bindsym Return mode "default"
  149.         bindsym Escape mode "default"
  150. }
  151.  
  152. bindsym $mod+p mode "resize"
  153. bindsym $mod+shift+z exec setxkbmap us
  154. bindsym $mod+shift+w exec setxkbmap dvorak
  155. # Start i3bar to display a workspace bar (plus the system information i3status
  156. # finds out, if available)
  157. bar {
  158.         status_command i3blocks
  159.         tray_output primary
  160.     colors{
  161.  
  162.     background #000010
  163.     statusline #00FF49
  164.     separator  #FF7500
  165.  
  166.     focused_workspace   #00FF49 #000010 #00FF49
  167.     active_workspace    #17A180 #000010 #4EA667
  168.     inactive_workspace  #17A180 #000010 #4EA667
  169.     urgent_workspace    #00FF49 #FF2F21 #ffffff
  170.     binding_mode        #00FF49 #000010 #00FF49
  171.     }
  172.  
  173. }
  174.  
  175. # setting custom shit on entry
  176. exec setxkbmap dvorak
  177. exec emacs --daemon
  178. exec feh --bg-scale ~/Pictures/Wallpapers/OrangeDirectory/squidfract3.jpg
  179. # WINDOW COLORS
  180. client.focused           #35354A #35354A #B7FF80 #55555A
  181. client.unfocused         #10101A #10101A #4B5A39 #20202A
  182. client.focused_inactive  #20202b #20202b #59966A #30303b
  183.  
  184. # Window border width
  185. new_window pixel 2
  186.  
  187. # Start emacs workspace 3
  188.  
  189. # Start firefox workspace 2
  190.  
  191. # Start Audio mixer and Wicd in Workspace 5
  192. exec --no-startup-id i3-msg 'workspace 5; exec wicd-gtk'
  193. exec --no-startup-id i3-msg 'workspace 5; exec gnome-alsamixer; workspace 1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement