Advertisement
Guest User

broken i3blocks-gaps-git config

a guest
Mar 23rd, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.32 KB | None | 0 0
  1. # i3 config file (v4)
  2.  
  3. set $mod Mod1
  4.  
  5. # Font for window titles. Will also be used by the bar unless a different font
  6. # is used in the bar {} block below.
  7. font pango: Courier New Bold 18
  8.  
  9. # Gaps
  10. smart_gaps on
  11. gaps inner 10
  12. gaps outer 25
  13.  
  14. # Don't focus window where mouse moves
  15. focus_follows_mouse no
  16.  
  17. # Compton
  18. exec --no-startup-id compton -bc --config ~/.config/compton/compton.conf
  19.  
  20. # Use Mouse+$mod to drag floating windows to their wanted position
  21. floating_modifier $mod
  22.  
  23. # start a terminal
  24. bindsym $mod+Return exec termite
  25.  
  26. # kill focused window
  27. bindsym $mod+Shift+q kill
  28.  
  29. # start dmenu (a program launcher)
  30. bindsym $mod+d exec dmenu_run
  31.  
  32. # change focus
  33. bindsym $mod+j focus left
  34. bindsym $mod+k focus down
  35. bindsym $mod+l focus up
  36. bindsym $mod+semicolon focus right
  37.  
  38. # alternatively, you can use the cursor keys:
  39. bindsym $mod+Left focus left
  40. bindsym $mod+Down focus down
  41. bindsym $mod+Up focus up
  42. bindsym $mod+Right focus right
  43.  
  44. # move focused window
  45. bindsym $mod+Shift+j move left
  46. bindsym $mod+Shift+k move down
  47. bindsym $mod+Shift+l move up
  48. bindsym $mod+Shift+semicolon move right
  49.  
  50. # alternatively, you can use the cursor keys:
  51. bindsym $mod+Shift+Left move left
  52. bindsym $mod+Shift+Down move down
  53. bindsym $mod+Shift+Up move up
  54. bindsym $mod+Shift+Right move right
  55.  
  56. # split in horizontal orientation
  57. bindsym $mod+h split h
  58.  
  59. # split in vertical orientation
  60. bindsym $mod+v split v
  61.  
  62. # enter fullscreen mode for the focused container
  63. bindsym $mod+f fullscreen toggle
  64.  
  65. # change container layout (stacked, tabbed, toggle split)
  66. bindsym $mod+s layout stacking
  67. bindsym $mod+w layout tabbed
  68. bindsym $mod+e layout toggle split
  69.  
  70. # toggle tiling / floating
  71. bindsym $mod+Shift+space floating toggle
  72.  
  73. # change focus between tiling / floating windows
  74. bindsym $mod+space focus mode_toggle
  75.  
  76. # focus the parent container
  77. bindsym $mod+a focus parent
  78.  
  79. # focus the child container
  80. #bindsym $mod+d focus child
  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 5
  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 5
  105.  
  106. # reload the configuration file
  107. bindsym $mod+Shift+c reload
  108. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  109. bindsym $mod+Shift+r restart
  110. # exit i3 (logs you out of your X session)
  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. # 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 2 px or 2 ppt
  122.         bindsym k resize grow height 2 px or 2 ppt
  123.         bindsym l resize shrink height 2 px or 2 ppt
  124.         bindsym semicolon resize grow width 2 px or 2 ppt
  125.  
  126.         # same bindings, but for the arrow keys
  127.         bindsym Left resize shrink width 2 px or 2 ppt
  128.         bindsym Down resize grow height 2 px or 2 ppt
  129.         bindsym Up resize shrink height 2 px or 2 ppt
  130.         bindsym Right resize grow width 2 px or 2 ppt
  131.  
  132.         # back to normal: Enter or Escape
  133.         bindsym Return mode "default"
  134.         bindsym Escape mode "default"
  135. }
  136.  
  137. bindsym $mod+r mode "resize"
  138.  
  139. # Start i3bar to display a workspace bar (plus the system information i3status
  140. # finds out, if available)
  141. bar {
  142.   position top
  143.   status_command i3blocks
  144. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement