Simple image host.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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 somewhen, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7. # i3 config file (v4)
  8. #
  9. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  10. set $mod Mod4
  11. # hide dem borders
  12. hide_edge_borders both
  13. # hide dem titles
  14. for_window [class="^.*"] border pixel 1
  15. for_window [title="^float$"] floating enable
  16. #colors
  17. #solarized theme, weird
  18. set $background #000000
  19. set $back-inact #1C1C1C
  20. set $back-urgen #B85335
  21. set $border #1C1C1C
  22. set $bor-in #1C1C1C
  23. set $bor-ur #1C1C1C
  24. set $text #FFB946
  25. set $t-in #888888
  26. set $t-ur #CF6A4C
  27. # class border background text indicator
  28. client.focused $border $background $text #31392F
  29. client.focused_inactive $bor-in $background $t-in #676767
  30. client.unfocused $bor-in $background $t-in #515151
  31. client.urgent $bor-ur $back-urgen $t-ur #900000
  32. # font for window titles. ISO 10646 = Unicode
  33. #apt-get install xfonts-terminus
  34. #apt-get install xfonts-jmk
  35. font xft:Neep Alt 8
  36. # Use Mouse+$mod to drag floating windows to their wanted position
  37. floating_modifier $mod
  38. # Font for window titles. Will also be used by the bar unless a different font
  39. # is used in the bar {} block below. ISO 10646 = Unicode
  40. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  41. # The font above is very space-efficient, that is, it looks good, sharp and
  42. # clear in small sizes. However, if you need a lot of unicode glyphs or
  43. # right-to-left text rendering, you should instead use pango for rendering and
  44. # chose a FreeType font, such as:
  45. # font pango:DejaVu Sans Mono 10
  46. # Use Mouse+$mod to drag floating windows to their wanted position
  47. floating_modifier $mod
  48. # start a terminal
  49. bindsym $mod+Return exec i3-sensible-terminal
  50. # kill focused window
  51. bindsym $mod+Shift+q kill
  52. # start dmenu (a program launcher)
  53. bindsym $mod+period exec dmenu_run
  54. # There also is the (new) i3-dmenu-desktop which only displays applications
  55. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  56. # installed.
  57. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  58. # change focus
  59. bindsym $mod+h focus left
  60. bindsym $mod+t focus up
  61. bindsym $mod+n focus down
  62. bindsym $mod+s focus right
  63. # alternatively, you can use the cursor keys:
  64. bindsym $mod+Left focus left
  65. bindsym $mod+Down focus down
  66. bindsym $mod+Up focus up
  67. bindsym $mod+Right focus right
  68. # move focused window
  69. bindsym $mod+Shift+h move left
  70. bindsym $mod+Shift+t move up
  71. bindsym $mod+Shift+n move down
  72. bindsym $mod+Shift+s move right
  73. # alternatively, you can use the cursor keys:
  74. bindsym $mod+Shift+Left move left
  75. bindsym $mod+Shift+Down move down
  76. bindsym $mod+Shift+Up move up
  77. bindsym $mod+Shift+Right move right
  78. # split in horizontal orientation
  79. bindsym $mod+c split h
  80. # split in vertical orientation
  81. bindsym $mod+i split v
  82. # enter fullscreen mode for the focused container
  83. bindsym $mod+f fullscreen
  84. # change container layout (stacked, tabbed, toggle split)
  85. bindsym $mod+v layout stacking
  86. bindsym $mod+w layout tabbed
  87. bindsym $mod+z layout toggle split
  88. # toggle tiling / floating
  89. bindsym $mod+Shift+space floating toggle
  90. # focus the parent container
  91. #bindsym $mod+a focus parent
  92. # focus the child container
  93. #bindsym $mod+d focus child
  94. # switch to workspace
  95. bindsym $mod+1 workspace 1
  96. bindsym $mod+2 workspace 2
  97. bindsym $mod+3 workspace 3
  98. bindsym $mod+4 workspace 4
  99. bindsym $mod+5 workspace 5
  100. bindsym $mod+6 workspace 6
  101. bindsym $mod+7 workspace 7
  102. bindsym $mod+8 workspace 8
  103. bindsym $mod+9 workspace 9
  104. bindsym $mod+0 workspace 10
  105. # move focused container to workspace
  106. bindsym $mod+Shift+1 move container to workspace 1
  107. bindsym $mod+Shift+2 move container to workspace 2
  108. bindsym $mod+Shift+3 move container to workspace 3
  109. bindsym $mod+Shift+4 move container to workspace 4
  110. bindsym $mod+Shift+5 move container to workspace 5
  111. bindsym $mod+Shift+6 move container to workspace 6
  112. bindsym $mod+Shift+7 move container to workspace 7
  113. bindsym $mod+Shift+8 move container to workspace 8
  114. bindsym $mod+Shift+9 move container to workspace 9
  115. bindsym $mod+Shift+0 move container to workspace 10
  116. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  117. bindsym $mod+Shift+r restart
  118. # exit i3 (logs you out of your X session)
  119. 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'"
  120. # resize window (you can also use the mouse for that)
  121. mode "resize" {
  122. # These bindings trigger as soon as you enter the resize mode
  123. # Pressing left will shrink the window’s width.
  124. # Pressing right will grow the window’s width.
  125. # Pressing up will shrink the window’s height.
  126. # Pressing down will grow the window’s height.
  127. bindsym h resize shrink width 10 px or 10 ppt
  128. bindsym n resize grow height 10 px or 10 ppt
  129. bindsym t resize shrink height 10 px or 10 ppt
  130. bindsym s resize grow width 10 px or 10 ppt
  131. # same bindings, but for the arrow keys
  132. bindsym Left resize shrink width 10 px or 10 ppt
  133. bindsym Down resize grow height 10 px or 10 ppt
  134. bindsym Up resize shrink height 10 px or 10 ppt
  135. bindsym Right resize grow width 10 px or 10 ppt
  136. # back to normal: Enter or Escape
  137. bindsym Return mode "default"
  138. bindsym Escape mode "default"
  139. }
  140. bindsym $mod+r mode "resize"
  141. # Start i3bar to display a workspace bar (plus the system information i3status
  142. # finds out, if available)
  143. bar {
  144. status_command i3status
  145. colors {
  146. focused_workspace $border $background $text
  147. active_workspace $border $background $t-in
  148. inactive_workspace $border $background $t-in
  149. statusline #dddddd
  150. separator #eeeeee
  151. }
  152. }
  153. bindsym $mod+space scratchpad show
  154. for_window [instance="urxvt-scratchpad"] move scratchpad
  155. exec urxvt -name "urxvt-scratchpad" -e tmux
  156. exec sh ~/.wmrc