Advertisement
Guest User

i3 config

a guest
Sep 17th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 KB | None | 0 0
  1. font pango:monospace 0
  2. set $mod Mod4
  3. set $ctl Control
  4. floating_modifier $mod
  5. new_window pixel 1
  6. hide_edge_borders both
  7. workspace_auto_back_and_forth yes
  8. focus_on_window_activation smart
  9. popup_during_fullscreen smart
  10. for_window [urgent=latest] focus
  11. mode "window" {
  12. bindsym Shift+Up resize grow up 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  13. bindsym 1 move container to workspace 1;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  14. bindsym Shift+Left resize grow left 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  15. bindsym 4 move container to workspace 4;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  16. bindsym 5 move container to workspace 5;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  17. bindsym 3 move container to workspace 3;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  18. bindsym 7 move container to workspace 7;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  19. bindsym Left move left;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  20. bindsym Control+Up resize shrink up 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  21. bindsym 9 move container to workspace 9;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  22. bindsym Right move right;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  23. bindsym w mode "persistent window";bar mode invisible defaultbar;bar mode dock modebar
  24. bindsym t floating toggle;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  25. bindsym Control+Right resize shrink right 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  26. bindsym Control+Down resize shrink down 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  27. bindsym q kill;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  28. bindsym f fullscreen toggle;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  29. bindsym 2 move container to workspace 2;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  30. bindsym Shift+Right resize grow right 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  31. bindsym Shift+Down resize grow down 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  32. bindsym 8 move container to workspace 8;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  33. bindsym Down move down;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  34. bindsym Control+Left resize shrink left 10 px or 10 ppt;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  35. bindsym Up move up;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  36. bindsym 6 move container to workspace 6;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  37. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  38. bindsym 10 move container to workspace 10;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  39. }
  40. bindsym v split v
  41. bindsym 6 workspace 6
  42. bindsym Up focus up
  43. bindsym 10 workspace 10
  44. bindsym i mode "insert";bar mode invisible defaultbar;bar mode invisible modebar
  45. bindsym h split h
  46. bindsym F1 mode "insert";bar mode invisible defaultbar;bar mode invisible modebar
  47. bindsym x mode "execute";bar mode invisible defaultbar;bar mode dock modebar
  48. bindsym p layout toggle split
  49. bindsym 2 workspace 2
  50. bindsym Down focus down
  51. bindsym 8 workspace 8
  52. bindsym w mode "window";bar mode invisible defaultbar;bar mode dock modebar
  53. bindsym t layout tabbed
  54. bindsym 4 workspace 4
  55. bindsym 1 workspace 1
  56. bindsym 9 workspace 9
  57. bindsym Right focus right
  58. bindsym d exec dmenu_run
  59. bindsym s layout stacking
  60. bindsym m mode "meta";bar mode invisible defaultbar;bar mode dock modebar
  61. bindsym 5 workspace 5
  62. bindsym 7 workspace 7
  63. bindsym 3 workspace 3
  64. bindsym Left focus left
  65. mode "meta" {
  66. bindsym l exec i3lock;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  67. bindsym c exec "perl /home/myname/.config/i3/configure
  68. bindsym r restart
  69. bindsym q exec "i3-msg exit"
  70. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  71. }
  72. mode "execute" {
  73. bindsym g exec "terminal 'google'";mode "default";bar mode invisible modebar;bar mode dock defaultbar
  74. bindsym f exec f;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  75. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  76. bindsym l exec clementine;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  77. bindsym x mode "persistent execute";bar mode invisible defaultbar;bar mode dock modebar
  78. bindsym c exec google-chrome;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  79. bindsym Return exec terminal;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  80. bindsym m exec pcmanfm;mode "default";bar mode invisible modebar;bar mode dock defaultbar
  81. }
  82. mode "persistent execute" {
  83. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  84. bindsym f exec f
  85. bindsym g exec "terminal 'google'"
  86. bindsym m exec pcmanfm
  87. bindsym Return exec terminal
  88. bindsym l exec clementine
  89. bindsym c exec google-chrome
  90. }
  91. mode "persistent window" {
  92. bindsym 8 move container to workspace 8
  93. bindsym Shift+Down resize grow down 10 px or 10 ppt
  94. bindsym Down move down
  95. bindsym Control+Left resize shrink left 10 px or 10 ppt
  96. bindsym 2 move container to workspace 2
  97. bindsym Shift+Right resize grow right 10 px or 10 ppt
  98. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  99. bindsym 10 move container to workspace 10
  100. bindsym Up move up
  101. bindsym 6 move container to workspace 6
  102. bindsym 7 move container to workspace 7
  103. bindsym 3 move container to workspace 3
  104. bindsym 5 move container to workspace 5
  105. bindsym Left move left
  106. bindsym 9 move container to workspace 9
  107. bindsym Control+Up resize shrink up 10 px or 10 ppt
  108. bindsym Right move right
  109. bindsym Shift+Up resize grow up 10 px or 10 ppt
  110. bindsym 1 move container to workspace 1
  111. bindsym Shift+Left resize grow left 10 px or 10 ppt
  112. bindsym 4 move container to workspace 4
  113. bindsym Control+Down resize shrink down 10 px or 10 ppt
  114. bindsym q kill
  115. bindsym f fullscreen toggle
  116. bindsym t floating toggle
  117. bindsym Control+Right resize shrink right 10 px or 10 ppt
  118. }
  119. mode "insert" {
  120. bindsym F1 mode "default";bar mode invisible modebar;bar mode dock defaultbar
  121. }
  122. bar {
  123. id defaultbar
  124. font pango:monospace 16
  125. tray_output none
  126. workspace_buttons yes
  127. binding_mode_indicator no
  128. mode dock
  129. }
  130.  
  131. bar {
  132. id modebar
  133. font pango:monospace 16
  134. tray_output none
  135. workspace_buttons no
  136. binding_mode_indicator yes
  137. mode invisible
  138. }exec "i3-msg workspace 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement