Markzs

Untitled

Oct 12th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. ####################################
  2. ############## MOD KEY #############
  3.  
  4. set $mod Mod4
  5.  
  6. ###########################################
  7. ############## FONT / COLORS ##############
  8.  
  9. font pango:monospace 8
  10. # font pango:nimbus sans 8
  11.  
  12. client.focused #5AFF00 #297400 #ffffff #2e9ef4 #5AFF00
  13.  
  14. ############################################
  15. ############## FLOATING STUFF ##############
  16.  
  17. # Use Mouse+$mod to drag floating windows to their wanted position
  18. floating_modifier $mod
  19.  
  20. # toggle tiling / floating
  21. bindsym $mod+Shift+space floating toggle
  22.  
  23. # change focus between tiling / floating windows
  24. bindsym $mod+space focus mode_toggle
  25.  
  26. ##############################################
  27. ############## OPEN / KILL KEYS ##############
  28.  
  29. # start a terminal
  30. bindsym $mod+Return exec i3-sensible-terminal
  31.  
  32. # kill focused window
  33. bindsym $mod+Shift+q kill
  34.  
  35. bindsym $mod+d exec dmenu_run
  36. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  37.  
  38. ###########################################
  39. ############## FOCUS KEYBIND ##############
  40.  
  41. # change focus
  42. bindsym $mod+j focus left
  43. bindsym $mod+k focus down
  44. bindsym $mod+l focus up
  45. bindsym $mod+ccedilla focus right
  46. bindsym $mod+Left focus left
  47. bindsym $mod+Down focus down
  48. bindsym $mod+Up focus up
  49. bindsym $mod+Right focus right
  50.  
  51. # move focused window
  52. bindsym $mod+Shift+j move left
  53. bindsym $mod+Shift+k move down
  54. bindsym $mod+Shift+l move up
  55. bindsym $mod+Shift+ccedilla move right
  56. bindsym $mod+Shift+Left move left
  57. bindsym $mod+Shift+Down move down
  58. bindsym $mod+Shift+Up move up
  59. bindsym $mod+Shift+Right move right
  60.  
  61. #########################################
  62. ############## SPLIT STUFF ##############
  63.  
  64. bindsym $mod+h split h
  65. bindsym $mod+v split v
  66. bindsym $mod+e layout toggle split
  67.  
  68. #######################################
  69. ############## CONTAINER #############
  70.  
  71.  
  72. bindsym $mod+f fullscreen toggle
  73. bindsym $mod+s layout stacking
  74. bindsym $mod+w layout tabbed
  75.  
  76. bindsym $mod+a focus parent
  77. #bindsym $mod+d focus child
  78.  
  79. ########################################
  80. ############## WORKSPACES ##############
  81.  
  82. # switch to workspace
  83. bindsym $mod+1 workspace 1
  84. bindsym $mod+2 workspace 2
  85. bindsym $mod+3 workspace 3
  86. bindsym $mod+4 workspace 4
  87. bindsym $mod+5 workspace 5
  88. bindsym $mod+6 workspace 6
  89. bindsym $mod+7 workspace 7
  90. bindsym $mod+8 workspace 8
  91. bindsym $mod+9 workspace 9
  92. bindsym $mod+0 workspace 10
  93.  
  94. # move focused container to workspace
  95. bindsym $mod+Shift+1 move container to workspace 1
  96. bindsym $mod+Shift+2 move container to workspace 2
  97. bindsym $mod+Shift+3 move container to workspace 3
  98. bindsym $mod+Shift+4 move container to workspace 4
  99. bindsym $mod+Shift+5 move container to workspace 5
  100. bindsym $mod+Shift+6 move container to workspace 6
  101. bindsym $mod+Shift+7 move container to workspace 7
  102. bindsym $mod+Shift+8 move container to workspace 8
  103. bindsym $mod+Shift+9 move container to workspace 9
  104. bindsym $mod+Shift+0 move container to workspace 10
  105.  
  106. ############################################
  107. ############## i3 ITSELF STUFF #############
  108.  
  109. bindsym $mod+Shift+c reload
  110. bindsym $mod+Shift+r restart
  111. 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'"
  112.  
  113. ####################################
  114. ############## RESIZE ##############
  115.  
  116. # resize window (you can also use the mouse for that)
  117. mode "resize" {
  118. # These bindings trigger as soon as you enter the resize mode
  119.  
  120. # Pressing left will shrink the window’s width.
  121. # Pressing right will grow the window’s width.
  122. # Pressing up will shrink the window’s height.
  123. # Pressing down will grow the window’s height.
  124. bindsym j resize shrink width 10 px or 10 ppt
  125. bindsym k resize grow height 10 px or 10 ppt
  126. bindsym l resize shrink height 10 px or 10 ppt
  127. bindsym ccedilla resize grow width 10 px or 10 ppt
  128.  
  129. # same bindings, but for the arrow keys
  130. bindsym Left resize shrink width 10 px or 10 ppt
  131. bindsym Down resize grow height 10 px or 10 ppt
  132. bindsym Up resize shrink height 10 px or 10 ppt
  133. bindsym Right resize grow width 10 px or 10 ppt
  134.  
  135. # back to normal: Enter or Escape
  136. bindsym Return mode "default"
  137. bindsym Escape mode "default"
  138. }
  139.  
  140. bindsym $mod+r mode "resize"
  141.  
  142. ########################################
  143. ################ BAR ###################
  144.  
  145. bar {
  146. position top
  147. # status_command i3status
  148. status_command i3blocks
  149. verbose yes
  150. }
  151.  
  152. ### Conkyr BAR ##
  153. #bar {
  154. # status_command conky -c $HOME/.i3/conky/conkyrc
  155. # mode dock
  156. # position top
  157. # #font pango:open sans 7.8
  158. # strip_workspace_numbers yes
  159. #
  160. #colors {
  161. # background #E4E5E8
  162. # statusline #ff0000
  163. # separator #ff0000
  164. #
  165. # focused_workspace #ff0000 #E4E5E8 #71B2DE
  166. # active_workspace #E4E5E8 #E4E5E8 #71B2DE
  167. # inactive_workspace #E4E5E8 #E4E5E8 #94AAAB
  168. # urgent_workspace #E4E5E8 #E4E5E8 #94AAAB
  169. # }
  170. #}
  171.  
  172. #################################
  173. ########### STARTUP #############
  174.  
  175.  
  176. exec --no-startup-id /home/mark/.config/i3/movetomark.py
  177. exec --no-startup-id diodon
  178.  
  179. ######################
  180. ### APLICA LAYOUT ####
  181. exec --no-startup-id i3-msg 'workspace 1; append_layout /home/mark/.i3/ws1.json'
  182.  
  183. bindsym $mod+Shift+F1 exec --no-startup-id "i3-msg append_layout /home/mark/.i3/ws1.json"
  184.  
  185. exec --no-startup-id i3-msg 'workspace 2; append_layout /home/mark/.i3/ws2.json; workspace 1'
  186.  
  187. ####################
  188. ### WORKSPACE 01 ###
  189.  
  190. exec --no-startup-id google-chrome
  191. exec --no-startup-id telegram
  192. exec --no-startup-id i3-sensible-terminal
  193.  
  194. ### WORKSPACE O2 ###
  195. exec --no-startup-id i3-sensible-terminal
  196. exec --no-startup-id gksudo subl
  197.  
  198. ### WORKSPACE 03 ###
  199. assign [class="Transmission-gtk"] 3
  200. assign [class="Clementine"] 3
  201. exec --no-startup-id i3-msg 'workspace 3; exec clementine; workspace 1'
  202.  
  203.  
  204. #######################################
  205. ########### OTHER BIDINGS #############
  206.  
  207.  
  208. # Mod+Tab Cycle
  209. bindsym $mod+Tab exec --no-startup-id /home/mark/.config/i3/modtab.py
  210.  
  211. # Puush
  212. bindsym Print exec --no-startup-id "puush -b"
Advertisement
Add Comment
Please, Sign In to add comment