Advertisement
Guest User

Untitled

a guest
May 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1.  
  2. # This file has been auto-generated by i3-config-wizard(1).
  3. # It will not be overwritten, so edit it as you like.
  4. #
  5. # Should you change your keyboard layout some time, delete
  6. # this file and re-run i3-config-wizard(1).
  7. #
  8.  
  9. # i3 config file (v4)
  10. #
  11. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  12. # ADDED BY CHIRS SO YOU KNOW ITS REAL: rename this file to 'config'
  13.  
  14. set $mod Mod4
  15.  
  16. # Font for window titles. Will also be used by the bar unless a different font
  17. # is used in the bar {} block below.
  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 10
  21. #font pango:Terminess Powerline 8
  22. font pango:Source Sans Pro 9
  23. # Before i3 v4.8, we used to recommend this one as the default:
  24. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  25. # The font above is very space-efficient, that is, it looks good, sharp and
  26. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  27. # X core fonts rendering does not support right-to-left and this being a bitmap
  28. # font, it doesn’t scale on retina/hidpi displays.
  29.  
  30. # Use Mouse+$mod to drag floating windows to their wanted position
  31. floating_modifier $mod
  32.  
  33. # start a terminal
  34. # default is following line, im gonna use uxterm for ootb unicode support
  35. #bindsym $mod+Return exec i3-sensible-terminal
  36. bindsym $mod+Return exec kitty
  37.  
  38. # l33t gaps bro
  39. gaps inner 6
  40.  
  41. # kill focused window
  42. bindsym $mod+Shift+q kill
  43.  
  44. # start dmenu (a program launcher)
  45. # bindsym $mod+d exec --no-startup-id dmenu_run -fn "Hasklig-9"
  46. #bindsym $mod+o exec --no-startup-id rofi -show drun
  47. bindsym $mod+p exec --no-startup-id "rofi -combi window,drun -show combi -modi combi"
  48. # There also is the (new) i3-dmenu-desktop which only displays applications
  49. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  50. # installed.
  51. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  52.  
  53. # change focus
  54. bindsym $mod+h focus left
  55. bindsym $mod+j focus down
  56. bindsym $mod+k focus up
  57. bindsym $mod+l focus right
  58.  
  59. # alternatively, you can use the cursor keys:
  60. bindsym $mod+Left focus left
  61. bindsym $mod+Down focus down
  62. bindsym $mod+Up focus up
  63. bindsym $mod+Right focus right
  64.  
  65. # move focused window
  66. bindsym $mod+Shift+h move left
  67. bindsym $mod+Shift+j move down
  68. bindsym $mod+Shift+k move up
  69. bindsym $mod+Shift+l move right
  70.  
  71. # alternatively, you can use the cursor keys:
  72. bindsym $mod+Shift+Left move left
  73. bindsym $mod+Shift+Down move down
  74. bindsym $mod+Shift+Up move up
  75. bindsym $mod+Shift+Right move right
  76.  
  77. # split in horizontal orientation
  78. bindsym $mod+b split h
  79.  
  80. # split in vertical orientation
  81. bindsym $mod+v split v
  82.  
  83. # enter fullscreen mode for the focused container
  84. bindsym $mod+f fullscreen
  85.  
  86. # change container layout (stacked, tabbed, toggle split)
  87. bindsym $mod+s layout stacking
  88. bindsym $mod+t layout tabbed
  89. bindsym $mod+e layout toggle split
  90.  
  91. # toggle tiling / floating
  92. bindsym $mod+Shift+space floating toggle
  93.  
  94. # change focus between tiling / floating windows
  95. bindsym $mod+space focus mode_toggle
  96.  
  97. # focus the parent container
  98. bindsym $mod+a focus parent
  99.  
  100. # focus the child container
  101. #bindsym $mod+d focus child
  102.  
  103. # No window titlebar
  104. new_window pixel 0
  105.  
  106. # INTERNET
  107. bindsym $mod+i exec firefox
  108.  
  109. # switch to workspace
  110. bindsym $mod+1 workspace 1
  111. bindsym $mod+2 workspace 2
  112. bindsym $mod+3 workspace 3
  113. bindsym $mod+4 workspace 4
  114. bindsym $mod+5 workspace 5
  115. bindsym $mod+6 workspace 6
  116. bindsym $mod+7 workspace 7
  117. bindsym $mod+8 workspace 8
  118. bindsym $mod+9 workspace 9
  119. bindsym $mod+0 workspace 10
  120.  
  121. # move focused container to workspace
  122. bindsym $mod+Shift+1 move container to workspace 1
  123. bindsym $mod+Shift+2 move container to workspace 2
  124. bindsym $mod+Shift+3 move container to workspace 3
  125. bindsym $mod+Shift+4 move container to workspace 4
  126. bindsym $mod+Shift+5 move container to workspace 5
  127. bindsym $mod+Shift+6 move container to workspace 6
  128. bindsym $mod+Shift+7 move container to workspace 7
  129. bindsym $mod+Shift+8 move container to workspace 8
  130. bindsym $mod+Shift+9 move container to workspace 9
  131. bindsym $mod+Shift+0 move container to workspace 10
  132.  
  133. # reload the configuration file
  134. bindsym $mod+Shift+c reload
  135. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  136. bindsym $mod+Shift+r restart
  137. set $mode_gaps Gaps: (o) outer, (i) inner
  138. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  139. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  140. bindsym $mod+Shift+g mode "$mode_gaps"
  141.  
  142. mode "$mode_gaps" {
  143. bindsym o mode "$mode_gaps_outer"
  144. bindsym i mode "$mode_gaps_inner"
  145. bindsym Return mode "default"
  146. bindsym Escape mode "default"
  147. }
  148.  
  149. mode "$mode_gaps_inner" {
  150. bindsym plus gaps inner current plus 5
  151. bindsym minus gaps inner current minus 5
  152. bindsym 0 gaps inner current set 0
  153.  
  154. bindsym Shift+plus gaps inner all plus 5
  155. bindsym Shift+minus gaps inner all minus 5
  156. bindsym Shift+0 gaps inner all set 0
  157.  
  158. bindsym Return mode "default"
  159. bindsym Escape mode "default"
  160. }
  161. mode "$mode_gaps_outer" {
  162. bindsym plus gaps outer current plus 5
  163. bindsym minus gaps outer current minus 5
  164. bindsym 0 gaps outer current set 0
  165.  
  166. bindsym Shift+plus gaps outer all plus 5
  167. bindsym Shift+minus gaps outer all minus 5
  168. bindsym Shift+0 gaps outer all set 0
  169.  
  170. bindsym Return mode "default"
  171. bindsym Escape mode "default"
  172. }
  173.  
  174. # exit i3 (logs you out of your X session)
  175. bindsym $mod+Shift+e exec i3-msg exit
  176.  
  177. # resize window (you can also use the mouse for that)
  178. mode "resize" {
  179. # These bindings trigger as soon as you enter the resize mode
  180.  
  181. # Pressing left will shrink the window’s width.
  182. # Pressing right will grow the window’s width.
  183. # Pressing up will shrink the window’s height.
  184. # Pressing down will grow the window’s height.
  185. bindsym h resize shrink width 10 px or 10 ppt
  186. bindsym j resize grow height 10 px or 10 ppt
  187. bindsym k resize shrink height 10 px or 10 ppt
  188. bindsym l resize grow width 10 px or 10 ppt
  189.  
  190. # same bindings, but for the arrow keys
  191. bindsym Left resize shrink width 10 px or 10 ppt
  192. bindsym Down resize grow height 10 px or 10 ppt
  193. bindsym Up resize shrink height 10 px or 10 ppt
  194. bindsym Right resize grow width 10 px or 10 ppt
  195.  
  196. # back to normal: Enter or Escape
  197. bindsym Return mode "default"
  198. bindsym Escape mode "default"
  199. }
  200.  
  201. bindsym $mod+r mode "resize"
  202.  
  203. # load some colors from Xresources
  204. set_from_resource $black color0 #000000
  205. set_from_resource $blue color4 #204a87
  206. set_from_resource $light_blue color12 #b88b7c5
  207. set_from_resource $red color9 #A4A5A8
  208. set_from_resource $white color15 #ffffff
  209. set_from_resource $light_grey color7 #deddde
  210.  
  211. #border #backgr #text #incicator
  212. client.focused $black $blue $black $blue
  213. client.focused_inactive $black $black $light_grey $light_blue
  214. client.unfocused $black $black $light_grey $light_grey
  215. client.urgent $black $black $white $red
  216.  
  217.  
  218. # Start i3bar to display a workspace bar (plus the system information i3status
  219. # finds out, if available)
  220. # bar {
  221. # status_command i3status
  222. # tray_output primary
  223. # colors {
  224. # background #3f3f3f
  225. # statusline #dcdccc
  226.  
  227. # focused_workspace #93b3a3 #3f3f3f #93b3a3
  228. # active_workspace #ffcfaf #3f3f3f #ffcfaf
  229. # inactive_workspace #636363 #3f3f3f #dcdccc
  230. # urgent_workspace #dca3a3 #3f3f3f #dca3a3
  231. # }
  232. # }
  233.  
  234. bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
  235. bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
  236. bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
  237. bindsym XF86Launch1 exec i3lock-next
  238. bindsym XF86MonBrightnessDown exec brightnessctl -d intel_backlight set 10%-
  239. bindsym XF86MonBrightnessUp exec brightnessctl -d intel_backlight set +10%
  240.  
  241. exec --no-startup-id /usr/local/bin/start-xkeysnail
  242. exec --no-startup-id /usr/local/bin/x230-monitor.sh
  243. exec --no-startup-id compton
  244. exec --no-startup-id xss-lock -- i3lock-next
  245. exec --no-startup-id wal -R
  246. exec_always --no-startup-id $HOME/.config/polybar/launch.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement