config 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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. # bar toggle, hide or show
  31. bindsym $mod+m bar mode toggle
  32. # start emacs text editor
  33. #bindsym Mod4+c exec terminator --command="emacs -nw"
  34. bindsym Mod4+c exec emacs
  35. # start thunar
  36. bindsym Mod4+f exec thunar
  37. # start Midnight Commander
  38. #bindsym Mod4+Shift+f exec terminator --command="mc -b"
  39. # start audacious
  40. bindsym Mod4+m exec audacious
  41. # start web browser
  42. bindsym Mod4+w exec firefox
  43. # Change volume
  44. bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
  45. bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
  46. bindsym XF86AudioMute exec amixer -q -D pulse set Master toggle
  47. # Open Galculator
  48. bindsym XF86Calculator exec galculator
  49. # In the case of a Poker II keyboard, this can be accessed using Fn+y
  50. # kill focused window
  51. bindsym $mod+Shift+q kill
  52. # start dmenu (a program launcher)
  53. bindsym $mod+p exec dmenu_run
  54. bindsym Mod4+p exec dmenu_run
  55. bindsym Menu exec dmenu_run
  56. # There also is the (new) i3-dmenu-desktop which only displays applications
  57. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  58. # installed.
  59. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  60. # change focus
  61. bindsym $mod+j focus left
  62. bindsym $mod+k focus down
  63. bindsym $mod+l focus up
  64. bindsym $mod+semicolon focus right
  65. # alternatively, you can use the cursor keys:
  66. bindsym $mod+Left focus left
  67. bindsym $mod+Down focus down
  68. bindsym $mod+Up focus up
  69. bindsym $mod+Right focus right
  70. # move focused window
  71. bindsym $mod+Shift+j move left
  72. bindsym $mod+Shift+k move down
  73. bindsym $mod+Shift+l move up
  74. bindsym $mod+Shift+semicolon move right
  75. # alternatively, you can use the cursor keys:
  76. bindsym $mod+Shift+Left move left
  77. bindsym $mod+Shift+Down move down
  78. bindsym $mod+Shift+Up move up
  79. bindsym $mod+Shift+Right move right
  80. # split in horizontal orientation
  81. bindsym $mod+h split h
  82. # split in vertical orientation
  83. bindsym $mod+v split v
  84. # enter fullscreen mode for the focused container
  85. bindsym $mod+f fullscreen
  86. # change container layout (stacked, tabbed, toggle split)
  87. bindsym $mod+s layout stacking
  88. bindsym $mod+w layout tabbed
  89. bindsym $mod+e layout toggle split
  90. # toggle tiling / floating
  91. bindsym $mod+Shift+space floating toggle
  92. # change focus between tiling / floating windows
  93. bindsym $mod+space focus mode_toggle
  94. # focus the parent container
  95. bindsym $mod+a focus parent
  96. # focus the child container
  97. #bindsym $mod+d focus child
  98. # switch to workspace
  99. bindsym $mod+1 workspace 0
  100. bindsym $mod+2 workspace 1
  101. bindsym $mod+3 workspace 2
  102. bindsym $mod+4 workspace 3
  103. bindsym $mod+5 workspace 4
  104. bindsym $mod+6 workspace 5
  105. bindsym $mod+7 workspace 6
  106. bindsym $mod+8 workspace 7
  107. bindsym $mod+9 workspace 8
  108. bindsym $mod+0 workspace 9
  109. # assign workspaces to their monitor
  110. # HDMI-0 DVI-I-1
  111. # Main Secondary
  112. # Main
  113. workspace 0 output HDMI-0
  114. workspace 1 output HDMI-0
  115. workspace 2 output HDMI-0
  116. workspace 3 output HDMI-0
  117. workspace 4 output HDMI-0
  118. workspace 5 output HDMI-0
  119. workspace 6 output HDMI-0
  120. # Secondary
  121. workspace 7 output DVI-I-1
  122. workspace 8 output DVI-I-1
  123. workspace 9 output DVI-I-1
  124. # move focused container to workspace
  125. bindsym $mod+Shift+1 move container to workspace 0
  126. bindsym $mod+Shift+2 move container to workspace 1
  127. bindsym $mod+Shift+3 move container to workspace 2
  128. bindsym $mod+Shift+4 move container to workspace 3
  129. bindsym $mod+Shift+5 move container to workspace 4
  130. bindsym $mod+Shift+6 move container to workspace 5
  131. bindsym $mod+Shift+7 move container to workspace 6
  132. bindsym $mod+Shift+8 move container to workspace 7
  133. bindsym $mod+Shift+9 move container to workspace 8
  134. bindsym $mod+Shift+0 move container to workspace 9
  135. # below is border colors
  136. # class border backgr. text indicator
  137. client.focused #000000 #000000 #ffffff #2e9ef4
  138. client.focused_inactive #000000 #696969 #ffffff #484e50
  139. client.unfocused #000000 #696969 #ffffff #292d2e
  140. client.urgent #000000 #ff0000 #ffffff #900000
  141. # reload the configuration file
  142. bindsym $mod+Shift+c reload
  143. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  144. bindsym $mod+Shift+r restart
  145. # exit i3 (logs you out of your X session)
  146. bindsym $mod+Shift+e exit
  147. # resize window (you can also use the mouse for that)
  148. mode "resize" {
  149. # These bindings trigger as soon as you enter the resize mode
  150. # Pressing left will shrink the window’s width.
  151. # Pressing right will grow the window’s width.
  152. # Pressing up will shrink the window’s height.
  153. # Pressing down will grow the window’s height.
  154. bindsym j resize shrink width 10 px or 10 ppt
  155. bindsym k resize grow height 10 px or 10 ppt
  156. bindsym l resize shrink height 10 px or 10 ppt
  157. bindsym semicolon resize grow width 10 px or 10 ppt
  158. # same bindings, but for the arrow keys
  159. bindsym Left resize shrink width 10 px or 10 ppt
  160. bindsym Down resize grow height 10 px or 10 ppt
  161. bindsym Up resize shrink height 10 px or 10 ppt
  162. bindsym Right resize grow width 10 px or 10 ppt
  163. # back to normal: Enter or Escape
  164. bindsym Return mode "default"
  165. bindsym Escape mode "default"
  166. }
  167. bindsym $mod+r mode "resize"
  168. # Start i3bar to display a workspace bar (plus the system information i3status
  169. # finds out, if available)
  170. bar {
  171. output HDMI-0
  172. workspace_buttons yes
  173. status_command i3status
  174. colors {
  175. background #000000
  176. statusline #999999
  177. # color_class border backg. text
  178. focused_workspace #696969 #696969 #000000
  179. active_workspace #696969 #696969 #000000
  180. inactive_workspace #696969 #000000 #ffffff
  181. urgent_workspace #696969 #ff0000 #ffffff
  182. }
  183. }
  184. #start tint2
  185. #exec --no-startup-id tint2
  186. #start tint2 panel
  187. #exec --no-startup-id tint2 --disable-wm-check
  188. # Quake2 float
  189. for_window [class="quake2"] floating enable; border none;
  190. # xfce4-notify
  191. for_window [class="Xfce4-notifyd"] floating enable; border none;
  192. # xfce4-power-manager
  193. #exec --no-startup-id xfce4-power-manager
  194. # audacious float, assign to workspace 6
  195. for_window [class="Audacious"] floating enable; border none; focus mode_toggle
  196. assign [class="^Audacious$"] 7
  197. # vlc float, assign to workspace 6
  198. for_window[class="Vlc"] floating enable; border none; focus mode_toggle
  199. for_window[class="Parole"] floating enable; border none; focus mode_toggle
  200. assign [class="^Vlc$"] 7
  201. assign [class="^Parole$"] 7
  202. # tilda
  203. #exec --no-startup-id tilda
  204. exec --no-startup-id yakuake
  205. #for_window [class="Tilda" instance="dropdown"] floating enable; border none;
  206. for_window [class="Yakuake"] floating enable; border none;
  207. # Border preferences
  208. #for_window [class="^.*"] border pixel 1;
  209. for_window [class="^.*"] border none;
  210. # Terminator border preference
  211. #for_window [class="Terminator"] border pixel 1;
  212. for_window [class="Sakura"] border none; focus mode_toggle
  213. # Nitrogen restore wallpapers
  214. exec --no-startup-id nitrogen --restore
  215. # network-manager-applet
  216. exec --no-startup-id nm-applet
  217. # dzen2 conky startup
  218. exec --no-startup-id dzconky
  219. # arandr preferences
  220. for_window [class="Arandr"] floating enable; focus mode_toggle
  221. # lxappearance float
  222. for_window [class="Lxappearance"] floating enable; focus mode_toggle
  223. # thunar float
  224. for_window [class="Thunar"] floating enable; focus mode_toggle
  225. # viewnior float
  226. for_window [class="Viewnior"] floating enable; focus mode_toggle
  227. # leafpad float
  228. #for_window [class="Leafpad"] floating enable; focus mode_toggle
  229. # pavucontrol float && start pulseaudio && pnmixer float
  230. exec --no-startup-id pulseaudio --start
  231. for_window [class="Pavucontrol"] floating enable; focus mode_toggle;
  232. for_window [class="Pnmixer"] floating enable; focus mode_toggle;
  233. # xfce4-volumed autostart && pnmixer autostart
  234. exec --no-startup-id xfce4-volumed
  235. exec --no-startup-id pnmixer
  236. # sakura float
  237. for_window [class="Sakura"] floating enable; focus mode_toggle;
  238. # zandronum float
  239. for_window [class="^Zandronum"] floating enable; focus mode_toggle;
  240. for_window [class="^zandronum"] floating enable; focus mode_toggle;
  241. #for_window [class="^Doomseeker"] floating enable; focus mode_toggle;
  242. # gimp float
  243. for_window [class="Gimp"] floating enable; focus mode_toggle;
  244. # Thunderbird float
  245. for_window [class="Thunderbird"] floating enable; focus mode_toggle;
  246. # firefox float
  247. for_window [class="Firefox.*"] floating enable; focus mode_toggle;
  248. #for_window [class="^Places"] floating enable; focus mode_toggle;
  249. #for_window [class="^Navigator"] floating enable; focus mode_toggle;
  250. # steam float, assign to workspace 2
  251. for_window [class="Steam.*"] floating enable; focus mode_toggle;
  252. assign [class="Steam.*"] 1
  253. # startup steam
  254. exec --no-startup-id steam
  255. # compton autostart
  256. exec --no-startup-id compton --config /home/cak/.config/compton.conf -b
  257. # jGrasp float
  258. #for_window [class="Jgrasp"] floating enable; focus mode_toggle;
  259. # gparted float
  260. for_window [class="^GParted.*$"] floating enable; focus mode_toggle;
  261. # galculator float
  262. for_window [class="Galculator"] floating enable; focus mode_toggle;
  263. # brasero float
  264. for_window [class="brasero"] floating enable; focus mode_toggle;
  265. # nitrogen float
  266. for_window [class="Nitrogen"] floating enable; focus mode_toggle;
  267. # wireshark float
  268. for_window [class="Wireshark"] floating enable;
  269. # UT2k4-related floats
  270. for_window [class="SDL_App"] floating enable; focus mode_toggle
  271. # system-config-samba float && system-config-printer floats
  272. for_window[class="System-config-samba"] floating enable; focus mode_toggle
  273. for_window[class="System-config-printer"] floating enable; focus mode_toggle
  274. # Skype float
  275. #for_window[class="Skype"] floating enable;border none; focus mode_toggle;
  276. # Archive Manager float
  277. for_window[class="File-roller"] floating enable; focus mode_toggle
  278. # gtk-recordMyDesktop float
  279. #for_window[class="Gtk-recordMyDesktop"] floating enable; focus mode_toggle
  280. # remmina float
  281. for_window[class="Remmina"] floating enable; focus mode_toggle
  282. # logisim float
  283. for_window[class="^.*logisim.*$"] floating enable; focus mode_toggle
  284. # Virtualbox float
  285. for_window[class="VirtualBox"] floating enable; focus mode_toggle
  286. assign [class="^VirtualBox$"] 3