Advertisement
Guest User

i3.config

a guest
Nov 24th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. # Modifier
  2. set $mod Mod4
  3.  
  4. # Font
  5. font pango:System San Francisco 9
  6.  
  7. # Drag floating windows
  8. floating_modifier $mod
  9.  
  10. # Start a terminal
  11. bindsym $mod+Return exec i3-sensible-terminal
  12.  
  13. # Kill focused window
  14. bindsym $mod+Shift+q kill
  15.  
  16. # Change focus
  17. bindsym $mod+Left focus left
  18. bindsym $mod+Down focus down
  19. bindsym $mod+Up focus up
  20. bindsym $mod+Right focus right
  21.  
  22. # Move focused window
  23. bindsym $mod+Shift+Left move left
  24. bindsym $mod+Shift+Down move down
  25. bindsym $mod+Shift+Up move up
  26. bindsym $mod+Shift+Right move right
  27.  
  28. # Split in horizontal orientation
  29. bindsym $mod+h split h
  30.  
  31. # Split in vertical orientation
  32. bindsym $mod+v split v
  33.  
  34. # Enter fullscreen mode
  35. bindsym $mod+f fullscreen toggle
  36.  
  37. # Change container layout
  38. bindsym $mod+s layout stacking
  39. bindsym $mod+w layout tabbed
  40. bindsym $mod+e layout toggle split
  41.  
  42. # Toggle tiling / floating
  43. bindsym $mod+Shift+space floating toggle
  44.  
  45. # Change focus between tiling / floating windows
  46. bindsym $mod+space focus mode_toggle
  47.  
  48. # Focus the parent container
  49. bindsym $mod+a focus parent
  50.  
  51. # Set workspace label
  52. set $workspace1 "1 "
  53. set $workspace2 "2 "
  54. set $workspace3 "3 "
  55. set $workspace4 "4 "
  56. set $workspace5 "5 "
  57. set $workspace6 "6 "
  58. set $workspace7 "7 "
  59. set $workspace8 "8 "
  60. set $workspace9 "9 "
  61. set $workspace10 "10 "
  62.  
  63. # Switch to workspace
  64. bindsym $mod+1 workspace $workspace1
  65. bindsym $mod+2 workspace $workspace2
  66. bindsym $mod+3 workspace $workspace3
  67. bindsym $mod+4 workspace $workspace4
  68. bindsym $mod+5 workspace $workspace5
  69. bindsym $mod+6 workspace $workspace6
  70. bindsym $mod+7 workspace $workspace7
  71. bindsym $mod+8 workspace $workspace8
  72. bindsym $mod+9 workspace $workspace9
  73. bindsym $mod+0 workspace $workspace10
  74.  
  75. # Move focused container to workspace
  76. bindsym $mod+Shift+1 move container to workspace $workspace1
  77. bindsym $mod+Shift+2 move container to workspace $workspace2
  78. bindsym $mod+Shift+3 move container to workspace $workspace3
  79. bindsym $mod+Shift+4 move container to workspace $workspace4
  80. bindsym $mod+Shift+5 move container to workspace $workspace5
  81. bindsym $mod+Shift+6 move container to workspace $workspace6
  82. bindsym $mod+Shift+7 move container to workspace $workspace7
  83. bindsym $mod+Shift+8 move container to workspace $workspace8
  84. bindsym $mod+Shift+9 move container to workspace $workspace9
  85. bindsym $mod+Shift+0 move container to workspace $workspace10
  86.  
  87. # Default workspace
  88. assign [class="URxvt"] $workspace1
  89. assign [class="Chromium"] $workspace2
  90. assign [class="VirtualBox"] $workspace3
  91.  
  92. # Reload the configuration file
  93. bindsym $mod+Shift+c reload
  94. # Restart i3 inplace
  95. bindsym $mod+Shift+r restart
  96. # Exit i3
  97. 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'"
  98.  
  99. # Window colors
  100. set $bg-color #2f343f
  101. set $inactive-bg-color #2f343f
  102. set $text-color #f3f4f5
  103. set $inactive-text-color #676E7D
  104. set $urgent-bg-color #E53935
  105.  
  106. # border background text indicator
  107. client.focused $bg-color $bg-color $text-color #00ff00
  108. client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
  109. client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
  110. client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
  111.  
  112. # Thin borders
  113. hide_edge_borders both
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement