Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.46 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 https://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. #AutoStart Programs
  13. exec polybar -r default
  14. exec --no-startup-id nm-applet
  15. exec --no-startup-id "compton -b --config ~/.config/compton.conf"
  16.  
  17. exec wal -i "/home/intruden313/Pictures/Wallpapers/1506922442398.jpg"
  18.  
  19. ##FONTS##
  20. font pango:monospace 8
  21. font pango:Robot Mono Nerd Font 10
  22.  
  23.  
  24. # Set colors from Xresources
  25. # Change 'color7' and 'color2' to whatever colors you want i3 to use
  26. # from the generated scheme.
  27. # NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
  28. # it fails to get colors from Xresources.
  29. set_from_resource $fg i3wm.color7 #f0f0f0
  30. set_from_resource $bg i3wm.color2 #f0f0f0
  31.  
  32. # class border backgr. text indicator child_border
  33. client.focused #ffffff $bg $fg $bg $bg
  34. client.focused_inactive #ffffff $bg $fg $bg $bg
  35. client.unfocused $bg $bg $fg $bg $bg
  36. client.urgent $bg $bg $fg $bg $bg
  37. client.placeholder $bg $bg $fg $bg $bg
  38. client.background $bg
  39.  
  40.  
  41.  
  42.  
  43. ##BINDINGS##
  44.  
  45. set $mod Mod4
  46.  
  47. # Before i3 v4.8, we used to recommend this one as the default:
  48. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  49. # The font above is very space-efficient, that is, it looks good, sharp and
  50. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  51. # X core fonts rendering does not support right-to-left and this being a bitmap
  52. # font, it doesn’t scale on retina/hidpi displays.
  53.  
  54. # Use Mouse+$mod to drag floating windows to their wanted position
  55. floating_modifier $mod
  56.  
  57. # start a terminal
  58. bindsym $mod+Return exec i3-sensible-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
  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. #Brightness controls
  71. bindsym XF86MonBrightnessUp exec light -A 10
  72. bindsym XF86MonBrightnessDown exec light -U 10
  73.  
  74. #Adjust Audio
  75. bindsym XF86AudioMute exec pactl -- set-sink-mute 0 toggle
  76. bindsym XF86AudioRaiseVolume exec pactl -- set-sink-volume 0 +10%
  77. bindsym XF86AudioLowerVolume exec pactl -- set-sink-volume 0 -10%
  78.  
  79. #Rofi Drun
  80. bindsym $mod+d exec rofi -width 1920 -location 0 -lines 19 -bw 0 -font "MonacoB 16" -padding 770 -separator-style none -opacity -show drun
  81.  
  82. #rofi test
  83. #bindsym $mod+d exec rofi -show drun
  84.  
  85. # change focus
  86. bindsym $mod+j focus left
  87. bindsym $mod+k focus down
  88. bindsym $mod+l focus up
  89. bindsym $mod+semicolon focus right
  90.  
  91. # alternatively, you can use the cursor keys:
  92. bindsym $mod+Left focus left
  93. bindsym $mod+Down focus down
  94. bindsym $mod+Up focus up
  95. bindsym $mod+Right focus right
  96.  
  97. # move focused window
  98. bindsym $mod+Shift+j move left
  99. bindsym $mod+Shift+k move down
  100. bindsym $mod+Shift+l move up
  101. bindsym $mod+Shift+semicolon move right
  102.  
  103. # alternatively, you can use the cursor keys:
  104. bindsym $mod+Shift+Left move left
  105. bindsym $mod+Shift+Down move down
  106. bindsym $mod+Shift+Up move up
  107. bindsym $mod+Shift+Right move right
  108.  
  109. # split in horizontal orientation
  110. bindsym $mod+h split h
  111.  
  112. # split in vertical orientation
  113. bindsym $mod+v split v
  114.  
  115. # enter fullscreen mode for the focused container
  116. bindsym $mod+f fullscreen toggle
  117.  
  118. # change container layout (stacked, tabbed, toggle split)
  119. bindsym $mod+s layout stacking
  120. bindsym $mod+w layout tabbed
  121. bindsym $mod+e layout toggle split
  122.  
  123. # toggle tiling / floating
  124. bindsym $mod+Shift+space floating toggle
  125.  
  126. # change focus between tiling / floating windows
  127. bindsym $mod+space focus mode_toggle
  128.  
  129. # focus the parent container
  130. bindsym $mod+a focus parent
  131.  
  132. # focus the child container
  133. #bindsym $mod+d focus child
  134.  
  135.  
  136. set $ws1 ""
  137. set $ws2 ""
  138. set $ws3 ""
  139.  
  140. # switch to workspace
  141. bindsym $mod+1 workspace $ws1
  142. bindsym $mod+2 workspace $ws2
  143. bindsym $mod+3 workspace $ws3
  144. bindsym $mod+4 workspace 4
  145. bindsym $mod+5 workspace 5
  146. bindsym $mod+6 workspace 6
  147. bindsym $mod+7 workspace 7
  148. bindsym $mod+8 workspace 8
  149. bindsym $mod+9 workspace 9
  150. bindsym $mod+0 workspace 10
  151.  
  152. # move focused container to workspace
  153. bindsym $mod+Shift+1 move container to workspace $ws1
  154. bindsym $mod+Shift+2 move container to workspace $ws2
  155. bindsym $mod+Shift+3 move container to workspace $ws3
  156. bindsym $mod+Shift+4 move container to workspace 4
  157. bindsym $mod+Shift+5 move container to workspace 5
  158. bindsym $mod+Shift+6 move container to workspace 6
  159. bindsym $mod+Shift+7 move container to workspace 7
  160. bindsym $mod+Shift+8 move container to workspace 8
  161. bindsym $mod+Shift+9 move container to workspace 9
  162. bindsym $mod+Shift+0 move container to workspace 10
  163.  
  164. # Border Style
  165. new_window pixel 5
  166. new_float normal
  167.  
  168. #gaps
  169. gaps outer 10
  170. gaps inner 20
  171.  
  172. bindsym $mod+shift+g mode "$mode_gaps"
  173.  
  174. mode "$mode_gaps" {
  175. bindsym o mode "$mode_gaps_outer"
  176. bindsym i mode "$mode_gaps_inner"
  177. bindsym Return mode "default"
  178. bindsym Escape mode "default"
  179. }
  180.  
  181. mode "$mode_gaps_inner" {
  182. bindsym plus gaps inner current plus 5
  183. bindsym minus gaps inner current minus 5
  184. bindsym 0 gaps inner current set 0
  185.  
  186. bindsym Shift+plus gaps inner all plus 5
  187. bindsym Shift+minus gaps inner all minus 5
  188. bindsym Shift+0 gaps inner all set 0
  189.  
  190. bindsym Return mode "default"
  191. bindsym Escape mode "default"
  192. }
  193. mode "$mode_gaps_outer" {
  194. bindsym plus gaps outer current plus 5
  195. bindsym minus gaps outer current minus 5
  196. bindsym 0 gaps outer current set 0
  197.  
  198. bindsym Shift+plus gaps outer all plus 5
  199. bindsym Shift+minus gaps outer all minus 5
  200. bindsym Shift+0 gaps outer all set 0
  201.  
  202. bindsym Return mode "default"
  203. bindsym Escape mode "default"
  204. }
  205.  
  206. # reload the configuration file
  207. bindsym $mod+Shift+c reload
  208.  
  209. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  210. bindsym $mod+Shift+r restart
  211.  
  212. # exit i3 (logs you out of your X session)
  213. bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Log Out?' -b 'Yes, exit i3' 'i3-msg exit'"
  214.  
  215. # resize window (you can also use the mouse for that)
  216. mode "resize" {
  217. # These bindings trigger as soon as you enter the resize mode
  218.  
  219. # Pressing left will shrink the window’s width.
  220. # Pressing right will grow the window’s width.
  221. # Pressing up will shrink the window’s height.
  222. # Pressing down will grow the window’s height.
  223. bindsym j resize shrink width 10 px or 10 ppt
  224. bindsym k resize grow height 10 px or 10 ppt
  225. bindsym l resize shrink height 10 px or 10 ppt
  226. bindsym semicolon resize grow width 10 px or 10 ppt
  227.  
  228. # same bindings, but for the arrow keys
  229. bindsym Left resize shrink width 10 px or 10 ppt
  230. bindsym Down resize grow height 10 px or 10 ppt
  231. bindsym Up resize shrink height 10 px or 10 ppt
  232. bindsym Right resize grow width 10 px or 10 ppt
  233.  
  234. # back to normal: Enter or Escape
  235. bindsym Return mode "default"
  236. bindsym Escape mode "default"
  237. }
  238.  
  239. bindsym $mod+r mode "resize"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement