config 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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 Mod1
  11. #Mod1 = alt
  12. #Mod4 = Super
  13. # Font for window titles. Will also be used by the bar unless a different font
  14. # is used in the bar {} block below. ISO 10646 = Unicode
  15. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  16. # The font above is very space-efficient, that is, it looks good, sharp and
  17. # clear in small sizes. However, if you need a lot of unicode glyphs or
  18. # right-to-left text rendering, you should instead use pango for rendering and
  19. # chose a FreeType font, such as:
  20. # font pango:DejaVu Sans Mono 10
  21. # Use Mouse+$mod to drag floating windows to their wanted position
  22. floating_modifier $mod
  23. # start a terminal
  24. bindsym $mod+Return exec i3-sensible-terminal # currently Terminator
  25. bindsym $mod+t exec i3-sensible-terminal
  26. #bindsym $mod+Return exec sakura
  27. bindsym Mod4+t exec sakura
  28. # start thunderbird
  29. bindsym Mod4+e exec thunderbird
  30. # start emacs text editor
  31. #bindsym Mod4+c exec terminator --command="emacs -nw"
  32. bindsym Mod4+c exec emacs
  33. # start thunar
  34. bindsym Mod4+f exec thunar
  35. # start Midnight Commander
  36. bindsym Mod4+Shift+f exec terminator --command="mc -b"
  37. # start audacious
  38. bindsym Mod4+m exec audacious
  39. # start web browser
  40. bindsym Mod4+w exec firefox
  41. # Change volume
  42. bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
  43. bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
  44. bindsym XF86AudioMute exec amixer -q -D pulse set Master toggle
  45. # Open Galculator
  46. bindsym XF86Calculator exec galculator
  47. # In the case of a Poker II keyboard, this can be accessed using Fn+y
  48. # kill focused window
  49. bindsym $mod+Shift+q kill
  50. # start dmenu (a program launcher)
  51. bindsym $mod+d exec dmenu_run
  52. bindsym $mod+p exec dmenu_run
  53. bindsym Mod4+d exec dmenu_run
  54. bindsym Menu exec dmenu_run
  55. # There also is the (new) i3-dmenu-desktop which only displays applications
  56. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  57. # installed.
  58. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  59. # change focus
  60. bindsym $mod+j focus left
  61. bindsym $mod+k focus down
  62. bindsym $mod+l focus up
  63. bindsym $mod+semicolon focus right
  64. # alternatively, you can use the cursor keys:
  65. bindsym $mod+Left focus left
  66. bindsym $mod+Down focus down
  67. bindsym $mod+Up focus up
  68. bindsym $mod+Right focus right
  69. # move focused window
  70. bindsym $mod+Shift+j move left
  71. bindsym $mod+Shift+k move down
  72. bindsym $mod+Shift+l move up
  73. bindsym $mod+Shift+semicolon move right
  74. # alternatively, you can use the cursor keys:
  75. bindsym $mod+Shift+Left move left
  76. bindsym $mod+Shift+Down move down
  77. bindsym $mod+Shift+Up move up
  78. bindsym $mod+Shift+Right move right
  79. # split in horizontal orientation
  80. bindsym $mod+h split h
  81. # split in vertical orientation
  82. bindsym $mod+v split v
  83. # enter fullscreen mode for the focused container
  84. bindsym $mod+f fullscreen
  85. # change container layout (stacked, tabbed, toggle split)
  86. bindsym $mod+s layout stacking
  87. bindsym $mod+w layout tabbed
  88. bindsym $mod+e layout toggle split
  89. # toggle tiling / floating
  90. bindsym $mod+Shift+space floating toggle
  91. # change focus between tiling / floating windows
  92. bindsym $mod+space focus mode_toggle
  93. # focus the parent container
  94. bindsym $mod+a focus parent
  95. # focus the child container
  96. #bindsym $mod+d focus child
  97. # switch to workspace
  98. bindsym $mod+1 workspace 1
  99. bindsym $mod+2 workspace 2
  100. bindsym $mod+3 workspace 3
  101. bindsym $mod+4 workspace 4
  102. bindsym $mod+5 workspace 5
  103. bindsym $mod+6 workspace 6
  104. bindsym $mod+7 workspace 7
  105. bindsym $mod+8 workspace 8
  106. bindsym $mod+9 workspace 9
  107. bindsym $mod+0 workspace 10
  108. # move focused container to workspace
  109. bindsym $mod+Shift+1 move container to workspace 1
  110. bindsym $mod+Shift+2 move container to workspace 2
  111. bindsym $mod+Shift+3 move container to workspace 3
  112. bindsym $mod+Shift+4 move container to workspace 4
  113. bindsym $mod+Shift+5 move container to workspace 5
  114. bindsym $mod+Shift+6 move container to workspace 6
  115. bindsym $mod+Shift+7 move container to workspace 7
  116. bindsym $mod+Shift+8 move container to workspace 8
  117. bindsym $mod+Shift+9 move container to workspace 9
  118. bindsym $mod+Shift+0 move container to workspace 10
  119. # below is border colors
  120. # class border backgr. text indicator
  121. client.focused #000000 #000000 #ffffff #2e9ef4
  122. client.focused_inactive #000000 #696969 #ffffff #484e50
  123. client.unfocused #000000 #696969 #ffffff #292d2e
  124. client.urgent #000000 #ff0000 #ffffff #900000
  125. # reload the configuration file
  126. bindsym $mod+Shift+c reload
  127. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  128. bindsym $mod+Shift+r restart
  129. # exit i3 (logs you out of your X session)
  130. bindsym $mod+Shift+e exit
  131. # resize window (you can also use the mouse for that)
  132. mode "resize" {
  133. # These bindings trigger as soon as you enter the resize mode
  134. # Pressing left will shrink the window’s width.
  135. # Pressing right will grow the window’s width.
  136. # Pressing up will shrink the window’s height.
  137. # Pressing down will grow the window’s height.
  138. bindsym j resize shrink width 10 px or 10 ppt
  139. bindsym k resize grow height 10 px or 10 ppt
  140. bindsym l resize shrink height 10 px or 10 ppt
  141. bindsym semicolon resize grow width 10 px or 10 ppt
  142. # same bindings, but for the arrow keys
  143. bindsym Left resize shrink width 10 px or 10 ppt
  144. bindsym Down resize grow height 10 px or 10 ppt
  145. bindsym Up resize shrink height 10 px or 10 ppt
  146. bindsym Right resize grow width 10 px or 10 ppt
  147. # back to normal: Enter or Escape
  148. bindsym Return mode "default"
  149. bindsym Escape mode "default"
  150. }
  151. bindsym $mod+r mode "resize"
  152. # Start i3bar to display a workspace bar (plus the system information i3status
  153. # finds out, if available)
  154. bar {
  155. status_command i3status
  156. colors {
  157. background #000000
  158. statusline #999999
  159. # color_class border backg. text
  160. focused_workspace #696969 #696969 #000000
  161. active_workspace #696969 #696969 #000000
  162. inactive_workspace #696969 #000000 #ffffff
  163. urgent_workspace #696969 #ff0000 #ffffff
  164. }
  165. }
  166. #start tint2
  167. #exec --no-startup-id tint2
  168. # xfce4-notify
  169. # update as of 01-06-16, using dunst in favor of xfce4-notifyd
  170. #for_window [class="Xfce4-notifyd"] floating enable; border none;
  171. # xfce4-power-manager
  172. #exec --no-startup-id xfce4-power-manager
  173. # audacious float
  174. for_window [class="Audacious"] floating enable; border none; focus mode_toggle
  175. # tilda || yakuake
  176. #exec --no-startup-id tilda
  177. #for_window [class="Tilda" instance="dropdown"] floating enable; border none;
  178. #exec --no-startup-id yakuake
  179. #for_window [class="Yakuake"] floating enable; border none;
  180. # Border preferences
  181. #for_window [class="^.*"] border pixel 1;
  182. for_window [class="^.*"] border none;
  183. # Terminator border preference
  184. #for_window [class="Terminator"] border pixel 1;
  185. for_window [class="Sakura"] border none;
  186. # Nitrogen restore wallpapers
  187. exec --no-startup-id nitrogen --restore
  188. # network-manager-applet
  189. exec --no-startup-id nm-applet
  190. # dzen2 conky startup
  191. exec --no-startup-id zconky
  192. # arandr preferences
  193. for_window [class="Arandr"] floating enable; focus mode_toggle
  194. # lxappearance float
  195. for_window [class="Lxappearance"] floating enable; focus mode_toggle
  196. # brasero float
  197. for_window [class="Brasero"] floating enable, focus mode_toggle
  198. # thunar float
  199. for_window [class="Thunar"] floating enable; focus mode_toggle
  200. # viewnior float
  201. for_window [class="Viewnior"] floating enable; focus mode_toggle
  202. # leafpad float
  203. #for_window [class="Leafpad"] floating enable; focus mode_toggle
  204. # pavucontrol float && start pulseaudio
  205. exec --no-startup-id pulseaudio --start
  206. for_window [class="Pavucontrol"] floating enable; focus mode_toggle;
  207. # xfce4-volumed autostart && pnmixer autostart
  208. exec --no-startup-id xfce4-volumed
  209. exec --no-startup-id pnmixer
  210. # sakura float
  211. for_window [class="Sakura"] floating enable; focus mode_toggle;
  212. # zandronum float
  213. for_window [class="Zandronum"] floating enable; focus mode_toggle;
  214. # gimp float
  215. for_window [class="Gimp"] floating enable; focus mode_toggle;
  216. # Thunderbird float
  217. for_window [class="Thunderbird"] floating enable; focus mode_toggle;
  218. # firefox float
  219. #for_window [class="Firefox"] floating enable; focus mode_toggle;
  220. for_window [class="Firefox Preferences"] floating enable; focus mode_toggle;
  221. # steam float, assign to workspace 2
  222. for_window[class="Steam.*"] floating enable; focus mode_toggle;
  223. assign [class="Steam.*"] 2
  224. # startup steam
  225. exec --no-startup-id steam
  226. # compton autostart
  227. exec --no-startup-id compton --config /home/cak/.config/compton.conf -b
  228. # jGrasp float
  229. #for_window [class="Jgrasp"] floating enable; focus mode_toggle;
  230. # gparted float
  231. #for_window [class="^Gparted.*$"] floating enable; focus mode_toggle;
  232. # galculator float
  233. for_window [class="Galculator"] floating enable; focus mode_toggle;
  234. # nitrogen float
  235. for_window [class="Nitrogen"] floating enable; focus mode_toggle;
  236. # wireshark float
  237. #for_window [class="Wireshark"] floating enable;
  238. # system-config-samba float && system-config-printer floats
  239. for_window[class="System-config-samba"] floating enable; focus mode_toggle
  240. for_window[class="System-config-printer"] floating enable; focus mode_toggle
  241. # Skype float
  242. #for_window[class="Skype"] floating enable;border none; focus mode_toggle;
  243. # Archive Manager float
  244. for_window[class="File-roller"] floating enable; focus mode_toggle
  245. # gtk-recordMyDesktop float
  246. for_window[class="Gtk-recordMyDesktop"] floating enable; focus mode_toggle
  247. # remmina float
  248. for_window[class="Remmina"] floating enable; focus mode_toggle
  249. # Virtualbox float
  250. for_window[class="VirtualBox"] floating enable; focus mode_toggle