config 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. set $menu "rofi -show run"
  12. set $wall "feh --randomize --bg-fill ~/Pictures/wallpaper/*"
  13. # workspace related
  14. set $w1  www
  15. set $w2  term
  16. set $w3  editor
  17. set $w4  ide
  18. set $w5  mail
  19. set $w6  media
  20. set $w7  steam
  21. set $w8 misc0
  22. set $w9 misc1
  23. set $w10 misc2
  24. #Mod1 = alt
  25. #Mod4 = Super
  26. # Font for window titles. Will also be used by the bar unless a different font
  27. # is used in the bar {} block below. ISO 10646 = Unicode
  28. font pango:System San Francisco Display 11
  29. # The font above is very space-efficient, that is, it looks good, sharp and
  30. # clear in small sizes. However, if you need a lot of unicode glyphs or
  31. # right-to-left text rendering, you should instead use pango for rendering and
  32. # chose a FreeType font, such as:
  33. # font pango:DejaVu Sans Mono 10
  34. # Use Mouse+$mod to drag floating windows to their wanted position
  35. floating_modifier $mod
  36. # start a terminal
  37. bindsym $mod+Return exec i3-sensible-terminal # currently Terminator
  38. # start thunar
  39. bindsym Mod4+f exec thunar
  40. # start audacious
  41. bindsym Mod4+m exec audacious
  42. # start web browser
  43. bindsym Mod4+w exec firefox
  44. # Change volume
  45. bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
  46. bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
  47. bindsym XF86AudioMute exec amixer -q -D pulse set Master toggle
  48. # Sreen brightness controls
  49. bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  50. bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  51. # Open Galculator
  52. bindsym XF86Calculator exec galculator
  53. # In the case of a Poker II keyboard, this can be accessed using Fn+y
  54. # kill focused window
  55. bindsym $mod+Shift+q kill
  56. # start dmenu (a program launcher)
  57. bindsym $mod+d exec $menu
  58. bindsym $mod+p exec $menu
  59. bindsym Mod4+d exec $menu
  60. bindsym Menu exec $menu
  61. # There also is the (new) i3-dmenu-desktop which only displays applications
  62. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  63. # installed.
  64. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  65. # change focus
  66. bindsym $mod+j focus left
  67. bindsym $mod+k focus down
  68. bindsym $mod+l focus up
  69. bindsym $mod+semicolon focus right
  70. # alternatively, you can use the cursor keys:
  71. bindsym $mod+Left focus left
  72. bindsym $mod+Down focus down
  73. bindsym $mod+Up focus up
  74. bindsym $mod+Right focus right
  75. # move focused window
  76. bindsym $mod+Shift+j move left
  77. bindsym $mod+Shift+k move down
  78. bindsym $mod+Shift+l move up
  79. bindsym $mod+Shift+semicolon move right
  80. # alternatively, you can use the cursor keys:
  81. bindsym $mod+Shift+Left move left
  82. bindsym $mod+Shift+Down move down
  83. bindsym $mod+Shift+Up move up
  84. bindsym $mod+Shift+Right move right
  85. # split in horizontal orientation
  86. bindsym $mod+h split h
  87. # split in vertical orientation
  88. bindsym $mod+v split v
  89. # enter fullscreen mode for the focused container
  90. bindsym $mod+f fullscreen
  91. # change container layout (stacked, tabbed, toggle split)
  92. bindsym $mod+s layout stacking
  93. bindsym $mod+w layout tabbed
  94. bindsym $mod+e layout toggle split
  95. # toggle tiling / floating
  96. bindsym $mod+Shift+space floating toggle
  97. # change focus between tiling / floating windows
  98. bindsym $mod+space focus mode_toggle
  99. # focus the parent container
  100. bindsym $mod+a focus parent
  101. # focus the child container
  102. #bindsym $mod+d focus child
  103. # switch to workspace
  104. bindsym $mod+1 workspace $w1
  105. bindsym $mod+2 workspace $w2
  106. bindsym $mod+3 workspace $w3
  107. bindsym $mod+4 workspace $w4
  108. bindsym $mod+5 workspace $w5
  109. bindsym $mod+6 workspace $w6
  110. bindsym $mod+7 workspace $w7
  111. bindsym $mod+8 workspace $w8
  112. bindsym $mod+9 workspace $w9
  113. bindsym $mod+0 workspace $w10
  114. # move focused container to workspace
  115. bindsym $mod+Shift+1 move container to workspace $w1
  116. bindsym $mod+Shift+2 move container to workspace $w2
  117. bindsym $mod+Shift+3 move container to workspace $w3
  118. bindsym $mod+Shift+4 move container to workspace $w4
  119. bindsym $mod+Shift+5 move container to workspace $w5
  120. bindsym $mod+Shift+6 move container to workspace $w6
  121. bindsym $mod+Shift+7 move container to workspace $w7
  122. bindsym $mod+Shift+8 move container to workspace $w8
  123. bindsym $mod+Shift+9 move container to workspace $w9
  124. bindsym $mod+Shift+0 move container to workspace $w10
  125. # below is border colors
  126. # class border backgr. text indicator
  127. client.focused #000000 #000000 #ffffff #2e9ef4
  128. client.focused_inactive #000000 #696969 #ffffff #484e50
  129. client.unfocused #000000 #696969 #ffffff #292d2e
  130. client.urgent #000000 #ff0000 #ffffff #900000
  131. # reload the configuration file
  132. bindsym $mod+Shift+c reload
  133. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  134. bindsym $mod+Shift+r restart
  135. # exit i3 (logs you out of your X session)
  136. bindsym $mod+Shift+e exit
  137. # resize window (you can also use the mouse for that)
  138. mode "resize" {
  139. # These bindings trigger as soon as you enter the resize mode
  140. # Pressing left will shrink the window’s width.
  141. # Pressing right will grow the window’s width.
  142. # Pressing up will shrink the window’s height.
  143. # Pressing down will grow the window’s height.
  144. bindsym j resize shrink width 10 px or 10 ppt
  145. bindsym k resize grow height 10 px or 10 ppt
  146. bindsym l resize shrink height 10 px or 10 ppt
  147. bindsym semicolon resize grow width 10 px or 10 ppt
  148. # same bindings, but for the arrow keys
  149. bindsym Left resize shrink width 10 px or 10 ppt
  150. bindsym Down resize grow height 10 px or 10 ppt
  151. bindsym Up resize shrink height 10 px or 10 ppt
  152. bindsym Right resize grow width 10 px or 10 ppt
  153. # back to normal: Enter or Escape
  154. bindsym Return mode "default"
  155. bindsym Escape mode "default"
  156. }
  157. bindsym $mod+r mode "resize"
  158. # Start i3bar to display a workspace bar (plus the system information i3status
  159. # finds out, if available)
  160. bar {
  161. status_command i3blocks
  162. colors {
  163. background #000000
  164. statusline #999999
  165. # color_class border backg. text
  166. focused_workspace #696969 #696969 #000000
  167. active_workspace #696969 #696969 #000000
  168. inactive_workspace #696969 #000000 #ffffff
  169. urgent_workspace #696969 #ff0000 #ffffff
  170. }
  171. }
  172. # Border preferences
  173. #for_window [class="^.*"] border pixel 1;
  174. for_window [class="^.*"] border none;
  175. # restore wallpapers
  176. # to be added!
  177. # network-manager-applet
  178. #exec --no-startup-id nm-applet
  179. # viewnior float
  180. for_window [class="Viewnior"] floating enable; focus mode_toggle
  181. # leafpad float
  182. #for_window [class="Leafpad"] floating enable; focus mode_toggle
  183. # pavucontrol float && start pulseaudio
  184. exec --no-startup-id pulseaudio --start
  185. for_window [class="Pavucontrol"] floating enable; focus mode_toggle;
  186. # xfce4-volumed autostart && pnmixer autostart
  187. #exec --no-startup-id xfce4-volumed
  188. #exec --no-startup-id pnmixer
  189. # steam float, assign to workspace 2
  190. for_window[class="Steam.*"] floating enable; focus mode_toggle;
  191. assign [class="Steam.*"] $w7
  192. # startup steam
  193. #exec --no-startup-id steam
  194. # compton autostart
  195. exec --no-startup-id compton --config /home/cak/.config/compton.conf -b
  196. # feh autostart
  197. exec --no-startup-id $wall
  198. # blueman-applet autostart
  199. exec --no-startup-id blueman-applet
  200. # networkmanager applet autostart
  201. exec --no-startup-id nm-applet
  202. # polkit agent startup
  203. exec --no-startup-id lxpolkit