Advertisement
Guest User

Untitled

a guest
Apr 5th, 2016
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. # =======================================================
  2. set $tag1 "1: Web"
  3. set $tag2 "2: Code"
  4. set $tag3 "3: Terminal"
  5. set $tag4 "4: Other"
  6. set $tag5 "5: Photoshop"
  7. # =======================================================
  8.  
  9. set $black #212121
  10. set $darkblack #000000
  11. set $red #fb4934
  12. set $darkred #cc241d
  13. set $green #b8bb26
  14. set $darkgreen #98971a
  15. set $yellow #fabd2f
  16. set $darkyellow #d79921
  17. set $blue #83a598
  18. set $darkblue #458588
  19. set $magenta #d3869b
  20. set $darkmagenta #b16286
  21. set $cyan #8ec07c
  22. set $darkcyan #689d6a
  23. set $white #ebdbb2
  24. set $darkwhite #a89984
  25. set $transparent #1d202100
  26.  
  27.  
  28. workspace_auto_back_and_forth yes
  29. force_display_urgency_hint 0 ms
  30. focus_on_window_activation urgent
  31.  
  32. floating_minimum_size -1 x -1
  33. floating_maximum_size -1 x -1
  34.  
  35. font pango:Hack, FontAwesome 12
  36.  
  37. # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
  38. client.focused $black $black $yellow $yellow $yellow
  39. client.unfocused $black $black $white $black $darkyellow
  40. client.focused_inactive $black $black $white $black $darkyellow
  41. client.urgent $darkred $darkred $black $darkblue $darkred
  42. client.background $black
  43.  
  44.  
  45. set $mod Mod4
  46. floating_modifier $mod
  47.  
  48. bindsym $mod+Return exec i3-sensible-terminal
  49. bindsym $mod+c kill
  50. bindsym $mod+r exec dmenu_run
  51.  
  52. # change focus
  53. bindsym $mod+Left focus left
  54. bindsym $mod+Down focus down
  55. bindsym $mod+Up focus up
  56. bindsym $mod+Right focus right
  57.  
  58. # move focused window
  59. bindsym $mod+Shift+Left move left
  60. bindsym $mod+Shift+Down move down
  61. bindsym $mod+Shift+Up move up
  62. bindsym $mod+Shift+Right move right
  63.  
  64. # split in horizontal orientation
  65. bindsym $mod+h split h
  66.  
  67. # split in vertical orientation
  68. bindsym $mod+v split v
  69.  
  70. # enter fullscreen mode for the focused container
  71. bindsym $mod+f fullscreen toggle
  72.  
  73. # change container layout (stacked, tabbed, toggle split)
  74. #bindsym $mod+s layout stacking
  75. bindsym $mod+w layout tabbed
  76. bindsym $mod+e layout toggle split
  77.  
  78. # toggle tiling / floating
  79. bindsym $mod+Shift+space floating toggle
  80.  
  81. # change focus between tiling / floating windows
  82. bindsym $mod+space focus mode_toggle
  83.  
  84. # focus the parent container
  85. bindsym $mod+a focus parent
  86.  
  87. # focus the child container
  88. #bindsym $mod+d focus child
  89.  
  90. # switch to workspace
  91. bindsym $mod+1 workspace $tag1
  92. bindsym $mod+2 workspace $tag2
  93. bindsym $mod+3 workspace $tag3
  94. bindsym $mod+4 workspace $tag4
  95. bindsym $mod+5 workspace $tag5
  96.  
  97. # move focused container to workspace
  98. bindsym $mod+Shift+1 move container to workspace $tag1
  99. bindsym $mod+Shift+2 move container to workspace $tag2
  100. bindsym $mod+Shift+3 move container to workspace $tag3
  101. bindsym $mod+Shift+4 move container to workspace $tag4
  102. bindsym $mod+Shift+5 move container to workspace $tag5
  103.  
  104. bindsym $mod+o move workspace to output left
  105.  
  106. # reload the configuration file
  107. bindsym $mod+Shift+r reload
  108. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  109. bindsym $mod+Shift+Control+r restart
  110. # exit i3 (logs you out of your X session)
  111. bindsym $mod+Shift+q 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'"
  112.  
  113. # resize window (you can also use the mouse for that)
  114. mode "resize" {
  115. # These bindings trigger as soon as you enter the resize mode
  116.  
  117. # Pressing left will shrink the window’s width.
  118. # Pressing right will grow the window’s width.
  119. # Pressing up will shrink the window’s height.
  120. # Pressing down will grow the window’s height.
  121. bindsym j resize shrink width 10 px or 10 ppt
  122. bindsym k resize grow height 10 px or 10 ppt
  123. bindsym l resize shrink height 10 px or 10 ppt
  124. bindsym eacute resize grow width 10 px or 10 ppt
  125.  
  126. # same bindings, but for the arrow keys
  127. bindsym Left resize shrink width 10 px or 10 ppt
  128. bindsym Down resize grow height 10 px or 10 ppt
  129. bindsym Up resize shrink height 10 px or 10 ppt
  130. bindsym Right resize grow width 10 px or 10 ppt
  131.  
  132. # back to normal: Enter or Escape
  133. bindsym Return mode "default"
  134. bindsym Escape mode "default"
  135. }
  136.  
  137. bindsym $mod+t mode "resize"
  138. bindsym $mod+s exec subl
  139. bindsym $mod+p exec ~/phpstorm/bin/phpstorm.sh
  140. bindsym $mod+g exec google-chrome
  141. bindsym $mod+y exec "google-chrome --app=http://localhost"
  142. bindsym $mod+n exec nautilus
  143.  
  144. bindsym $mod+q mode "run"
  145.  
  146. mode "run" {
  147. bindsym $mod+p exec "~/.wine/drive_c/Program\ Files\ \(x86\)/Adobe/Adobe\ Photoshop\ CS5/Photoshop.exe"
  148. bindsym Return mode "default"
  149. bindsym Escape mode "default"
  150. }
  151.  
  152. bar {
  153. # verbose yes
  154. status_command i3blocks
  155. #i3bar_command i3bar -t
  156. position top
  157. font pango:Hack, FontAwesome 11
  158. strip_workspace_numbers yes
  159. separator_symbol "■"
  160. bindsym button4 nop
  161. bindsym button5 nop
  162. tray_output eDP1
  163. tray_output LVDS-0
  164. tray_padding 0
  165. height 34
  166. colors {
  167. statusline $white
  168. background $transparent
  169. separator $yellow
  170.  
  171. # BORDER BACKGROUND TEXT
  172. focused_workspace $transparent $transparent $yellow
  173. inactive_workspace $transparent $transparent $white
  174. active_workspace $transparent $transparent $white
  175. urgent_workspace $darkred $darkred $transparent
  176. binding_mode $transparent $transparent $yellow
  177. }
  178. }
  179.  
  180. # gaps
  181. set $default_gaps_inner 15
  182. set $default_gaps_outer 0
  183. gaps inner $default_gaps_inner
  184. gaps outer $default_gaps_outer
  185. smart_gaps on
  186.  
  187. assign [instance="localhost"] $tag3
  188. assign [class="google-chrome"] $tag1
  189. assign [class="Sublime_text"] $tag2
  190. assign [class="jetbrains-phpstorm"] $tag2
  191. assign [class="X-terminal-emulator"] $tag3
  192. assign [class="Photoshop.exe"] $tag5
  193. assign [class="Nautilus"] $tag4
  194.  
  195. # background
  196. exec --no-startup-id feh --bg-center ~/Backgrounds/fish.jpg
  197.  
  198. # compton
  199. exec --no-startup-id --config .config/compton.conf -b
  200.  
  201. for_window [class="^.*"] border pixel 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement