Simple image host.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

config 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. #STARTUP
  12. exec compton --config ~/.comptonrc --backend glx --vsync opengl-swc --paint-on-overlay -b
  13. exec feh --bg-scale ~/background.jpg
  14. # hide dem borders
  15. hide_edge_borders both
  16. # hide dem titles
  17. for_window [class="^.*"] border pixel 1
  18. for_window [title="^float$"] floating enable
  19. #colors
  20. #solarized theme, weird
  21. set $background #1C1C1C
  22. set $back-inact #1C1C1C
  23. set $back-urgen #B85335
  24. set $border #1C1C1C
  25. set $bor-in #1C1C1C
  26. set $bor-ur #1C1C1C
  27. set $text #FFB946
  28. set $t-in #888888
  29. set $t-ur #CF6A4C
  30. # class border background text indicator
  31. client.focused $border $background $text #31392F
  32. client.focused_inactive $bor-in $back-inact $t-in #676767
  33. client.unfocused $bor-in $back-inact $t-in #515151
  34. client.urgent $bor-ur $back-urgen $t-ur #900000
  35. # font for window titles. ISO 10646 = Unicode
  36. #apt-get install xfonts-terminus
  37. #apt-get install xfonts-jmk
  38. font xft:Neep Alt 8
  39. # Use Mouse+$mod to drag floating windows to their wanted position
  40. floating_modifier $mod
  41. # Font for window titles. Will also be used by the bar unless a different font
  42. # is used in the bar {} block below. ISO 10646 = Unicode
  43. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  44. # The font above is very space-efficient, that is, it looks good, sharp and
  45. # clear in small sizes. However, if you need a lot of unicode glyphs or
  46. # right-to-left text rendering, you should instead use pango for rendering and
  47. # chose a FreeType font, such as:
  48. # font pango:DejaVu Sans Mono 10
  49. # Use Mouse+$mod to drag floating windows to their wanted position
  50. floating_modifier $mod
  51. # start a terminal
  52. bindsym $mod+Return exec i3-sensible-terminal
  53. # kill focused window
  54. bindsym $mod+Shift+q kill
  55. # start dmenu (a program launcher)
  56. bindsym $mod+period exec dmenu_run
  57. # There also is the (new) i3-dmenu-desktop which only displays applications
  58. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  59. # installed.
  60. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  61. # change focus
  62. bindsym $mod+h focus left
  63. bindsym $mod+t focus up
  64. bindsym $mod+n focus down
  65. bindsym $mod+s focus right
  66. # alternatively, you can use the cursor keys:
  67. bindsym $mod+Left focus left
  68. bindsym $mod+Down focus down
  69. bindsym $mod+Up focus up
  70. bindsym $mod+Right focus right
  71. # move focused window
  72. bindsym $mod+Shift+h move left
  73. bindsym $mod+Shift+t move up
  74. bindsym $mod+Shift+n move down
  75. bindsym $mod+Shift+s move right
  76. # alternatively, you can use the cursor keys:
  77. bindsym $mod+Shift+Left move left
  78. bindsym $mod+Shift+Down move down
  79. bindsym $mod+Shift+Up move up
  80. bindsym $mod+Shift+Right move right
  81. # split in horizontal orientation
  82. bindsym $mod+c split h
  83. # split in vertical orientation
  84. bindsym $mod+i split v
  85. # enter fullscreen mode for the focused container
  86. bindsym $mod+f fullscreen
  87. # change container layout (stacked, tabbed, toggle split)
  88. bindsym $mod+v layout stacking
  89. bindsym $mod+w layout tabbed
  90. bindsym $mod+z layout toggle split
  91. # toggle tiling / floating
  92. bindsym $mod+Shift+space floating toggle
  93. # change focus between tiling / floating windows
  94. bindsym $mod+space focus mode_toggle
  95. # focus the parent container
  96. #bindsym $mod+a focus parent
  97. # focus the child container
  98. #bindsym $mod+d focus child
  99. # switch to workspace
  100. bindsym $mod+1 workspace 1
  101. bindsym $mod+2 workspace 2
  102. bindsym $mod+3 workspace 3
  103. bindsym $mod+4 workspace 4
  104. bindsym $mod+5 workspace 5
  105. bindsym $mod+6 workspace 6
  106. bindsym $mod+7 workspace 7
  107. bindsym $mod+8 workspace 8
  108. bindsym $mod+9 workspace 9
  109. bindsym $mod+0 workspace 10
  110. # move focused container to workspace
  111. bindsym $mod+Shift+1 move container to workspace 1
  112. bindsym $mod+Shift+2 move container to workspace 2
  113. bindsym $mod+Shift+3 move container to workspace 3
  114. bindsym $mod+Shift+4 move container to workspace 4
  115. bindsym $mod+Shift+5 move container to workspace 5
  116. bindsym $mod+Shift+6 move container to workspace 6
  117. bindsym $mod+Shift+7 move container to workspace 7
  118. bindsym $mod+Shift+8 move container to workspace 8
  119. bindsym $mod+Shift+9 move container to workspace 9
  120. bindsym $mod+Shift+0 move container to workspace 10
  121. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  122. bindsym $mod+Shift+r restart
  123. # exit i3 (logs you out of your X session)
  124. 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'"
  125. # resize window (you can also use the mouse for that)
  126. mode "resize" {
  127. # These bindings trigger as soon as you enter the resize mode
  128. # Pressing left will shrink the window’s width.
  129. # Pressing right will grow the window’s width.
  130. # Pressing up will shrink the window’s height.
  131. # Pressing down will grow the window’s height.
  132. bindsym h resize shrink width 10 px or 10 ppt
  133. bindsym n resize grow height 10 px or 10 ppt
  134. bindsym t resize shrink height 10 px or 10 ppt
  135. bindsym s resize grow width 10 px or 10 ppt
  136. # same bindings, but for the arrow keys
  137. bindsym Left resize shrink width 10 px or 10 ppt
  138. bindsym Down resize grow height 10 px or 10 ppt
  139. bindsym Up resize shrink height 10 px or 10 ppt
  140. bindsym Right resize grow width 10 px or 10 ppt
  141. # back to normal: Enter or Escape
  142. bindsym Return mode "default"
  143. bindsym Escape mode "default"
  144. }
  145. bindsym $mod+r mode "resize"
  146. mode "norwegian" {
  147. bindsym a exec typeKey 00e6
  148. bindsym o exec typeKey 00f8
  149. bindsym e exec typeKey 00e5
  150. bindsym A exec typeKey 00c6
  151. bindsym O exec typeKey 00d8
  152. bindsym E exec typeKey 00c5
  153. # back to normal: Enter or Escape
  154. bindsym Return mode "default"
  155. bindsym Escape mode "default"
  156. }
  157. bindsym $mod+shift+c mode "norwegian"
  158. # Start i3bar to display a workspace bar (plus the system information i3status
  159. # finds out, if available)
  160. bar {
  161. status_command i3status
  162. }
  163. # volume and audio
  164. bindsym XF86AudioLowerVolume exec vol -10
  165. bindsym XF86AudioRaiseVolume exec vol +10
  166. bindsym XF86MonBrightnessDown exec xbacxlight -dec 10
  167. bindsym XF86MonBrightnessUp exec xbacxlight -inc 10
  168. # augment mouse
  169. bindsym $mod+a exec xdotool mousemove_relative -- -10 0
  170. bindsym $mod+o exec xdotool mousemove_relative -- 0 10
  171. bindsym $mod+e exec xdotool mousemove_relative -- 0 -10
  172. bindsym $mod+u exec xdotool mousemove_relative -- 10 0
  173. bindsym $mod+semicolon exec xdotool mousemove_relative -- -50 0
  174. bindsym $mod+q exec xdotool mousemove_relative -- 0 50
  175. bindsym $mod+j exec xdotool mousemove_relative -- 0 -50
  176. bindsym $mod+k exec xdotool mousemove_relative -- 50 0
  177. bindsym $mod+comma exec xdotool click 1
  178. exec sh .startup.sh
  179. exec xset r rate 200 60
  180. exec setxkbmap dvorak -option "ctrl:nocaps"