Advertisement
Guest User

dark i3config

a guest
Apr 7th, 2015
752
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.22 KB | None | 0 0
  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 some time, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7.  
  8. # i3 config file (v4)
  9. #
  10. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. set $mod Mod4
  13.  
  14. # Font for window titles. Will also be used by the bar unless a different font
  15. # is used in the bar {} block below.
  16. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  17. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  18. font pango:Droid Sans Mono 8
  19. # Before i3 v4.8, we used to recommend this one as the default:
  20. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  21. # The font above is very space-efficient, that is, it looks good, sharp and
  22. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  23. # X core fonts rendering does not support right-to-left and this being a bitmap
  24. # font, it doesn’t scale on retina/hidpi displays.
  25.  
  26. ### autostart ###
  27. #exec --no-startup-id feh --bg-scale /home/philm/pictures/Arch_Linux_Bluewave_by_BalanceST.jpeg
  28. #exec --no-startup-id feh --bg-scale /home/philm/pictures/sleek_sepa.jpg
  29. exec --no-startup-id feh --bg-scale /home/philm/pictures/dark_arch_contrast.png
  30. exec --no-startup-id nm-applet
  31. exec --no-startup-id mpd
  32. exec setxkbmap -layout de
  33. # vim Escape-key to Caps Lock
  34. exec xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
  35. exec touchegg
  36. exec --no-startup-id compton -c -r 20 -l -30 -t -30 -f -z --blur-background-frame --blur-kern '5,5,0.676634,0.783377,0.822578,0.783377,0.676634,0.783377,0.906961,0.952345,0.906961,0.783377,0.822578,0.952345,0.952345,0.822578,0.783377,0.906961,0.952345,0.906961,0.783377,0.676634,0.783377,0.822578,0.783377,0.676634,' --vsync opengl --dbe --glx-no-stencil -D 3 -b
  37. ### shortcuts ###
  38. bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ '-1%'
  39. bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ '+1%'
  40. bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
  41. bindsym XF86MonBrightnessUp exec xbacklight -inc 10
  42. bindsym XF86MonBrightnessDown exec xbacklight -dec 10
  43. bindsym XF86TouchpadToggle exec ~/.touchpadToggle
  44.  
  45. bindsym XF86AudioPlay exec "mpc toggle"
  46. bindsym XF86AudioStop exec "mpc stop"
  47. bindsym XF86AudioNext exec "mpc next"
  48. bindsym XF86AudioPrev exec "mpc prev"
  49. bindsym XF86AudioMedia exec urxvt -class ncmpcpp -e ncmpcpp
  50.  
  51. bindsym XF86Calculator exec qalculate
  52. bindsym XF86Sleep exec systemctl suspend
  53. bindsym $mod+Shift+f exec dolphin
  54. bindsym $mod+Shift+v exec feh $HOME/pictures/vim-shortcuts.png
  55. bindsym $mod+w exec chromium
  56. # Application specific rules
  57. new_window pixel 1
  58. for_window [class="Pavucontrol"] floating enable, border normal
  59. for_window [class="Qalculate"] floating enable, border normal
  60. # Use Mouse+$mod to drag floating windows to their wanted position
  61. floating_modifier $mod
  62.  
  63. # start a terminal
  64. #bindsym $mod+Return exec i3-sensible-terminal
  65. #bindsym $mod+Return exec konsole
  66. bindsym $mod+Return exec urxvt
  67. # kill focused window
  68. bindsym $mod+q kill
  69.  
  70. # start dmenu (a program launcher)
  71. #bindsym $mod+d exec j4-dmenu-desktop
  72. bindsym $mod+d exec dmenu_run -fn "Sauce Code Powerline-11:style=Medium" -nb "#161616" -sf "#161616" -sb "#999999"
  73. bindsym $mod+e exec xvim
  74. bindsym $mod+n exec krunner
  75. # There also is the (new) i3-dmenu-desktop which only displays applications
  76. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  77. # installed.
  78. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  79.  
  80. # change focus
  81. #bindsym $mod+j focus left
  82. #bindsym $mod+k focus down
  83. #bindsym $mod+l focus up
  84. #bindsym $mod+odiaeresis focus right
  85. bindsym $mod+h focus left
  86. bindsym $mod+j focus down
  87. bindsym $mod+k focus up
  88. bindsym $mod+l focus right
  89.  
  90.  
  91. # alternatively, you can use the cursor keys:
  92. bindsym $mod+Left focus left
  93. bindsym $mod+Down focus down
  94. bindsym $mod+Up focus up
  95. bindsym $mod+Right focus right
  96. # Moving Workspaces
  97. # Use mod-Control-Up and Down to rotate through the workspace list.
  98. bindsym $mod+Control+Left workspace prev
  99. bindsym $mod+Control+Right workspace next
  100.  
  101. # Use mod-Shift-Control-Up and Down to move the selected window to an
  102. # adjacent workspace. (This does *not* change your view to that workspace,
  103. # it just "zaps" the window there.)
  104. bindsym $mod+Shift+Control+Left move workspace prev
  105. bindsym $mod+Shift+Control+Right move workspace next
  106.  
  107. # move focused window
  108. #bindsym $mod+Shift+j move left
  109. #bindsym $mod+Shift+k move down
  110. #bindsym $mod+Shift+l move up
  111. #bindsym $mod+Shift+odiaeresis move right
  112. bindsym $mod+Shift+h move left
  113. bindsym $mod+Shift+j move down
  114. bindsym $mod+Shift+k move up
  115. bindsym $mod+Shift+l move right
  116. # alternatively, you can use the cursor keys:
  117. bindsym $mod+Shift+Left move left
  118. bindsym $mod+Shift+Down move down
  119. bindsym $mod+Shift+Up move up
  120. bindsym $mod+Shift+Right move right
  121.  
  122. # split in horizontal orientation
  123. bindsym $mod+b split h
  124.  
  125. # split in vertical orientation
  126. bindsym $mod+v split v
  127.  
  128. # enter fullscreen mode for the focused container
  129. bindsym $mod+f fullscreen
  130.  
  131. # change container layout (stacked, tabbed, toggle split)
  132. bindsym $mod+z layout stacking
  133. bindsym $mod+t layout tabbed
  134. bindsym $mod+u layout toggle split
  135.  
  136. # toggle tiling / floating
  137. bindsym $mod+Shift+space floating toggle
  138.  
  139. # change focus between tiling / floating windows
  140. bindsym $mod+space focus mode_toggle
  141.  
  142. # focus the parent container
  143. bindsym $mod+a focus parent
  144.  
  145. # focus the child container
  146. #bindsym $mod+d focus child
  147.  
  148. # switch to workspace
  149. bindsym $mod+1 workspace 1
  150. bindsym $mod+2 workspace 2
  151. bindsym $mod+3 workspace 3
  152. bindsym $mod+4 workspace 4
  153. bindsym $mod+5 workspace 5
  154. bindsym $mod+6 workspace 6
  155. bindsym $mod+7 workspace 7
  156. bindsym $mod+8 workspace 8
  157. bindsym $mod+9 workspace 9
  158. bindsym $mod+0 workspace 10
  159.  
  160. # move focused container to workspace
  161. bindsym $mod+Shift+1 move container to workspace 1
  162. bindsym $mod+Shift+2 move container to workspace 2
  163. bindsym $mod+Shift+3 move container to workspace 3
  164. bindsym $mod+Shift+4 move container to workspace 4
  165. bindsym $mod+Shift+5 move container to workspace 5
  166. bindsym $mod+Shift+6 move container to workspace 6
  167. bindsym $mod+Shift+7 move container to workspace 7
  168. bindsym $mod+Shift+8 move container to workspace 8
  169. bindsym $mod+Shift+9 move container to workspace 9
  170. bindsym $mod+Shift+0 move container to workspace 10
  171.  
  172. # reload the configuration file
  173. bindsym $mod+Shift+c reload
  174. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  175. bindsym $mod+Shift+r restart
  176. # exit i3 (logs you out of your X session)
  177. 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'"
  178.  
  179. # resize window (you can also use the mouse for that)
  180. mode "resize" {
  181. # These bindings trigger as soon as you enter the resize mode
  182.  
  183. # Pressing left will shrink the window’s width.
  184. # Pressing right will grow the window’s width.
  185. # Pressing up will shrink the window’s height.
  186. # Pressing down will grow the window’s height.
  187. bindsym j resize shrink width 10 px or 10 ppt
  188. bindsym k resize grow height 10 px or 10 ppt
  189. bindsym l resize shrink height 10 px or 10 ppt
  190. bindsym semicolon resize grow width 10 px or 10 ppt
  191.  
  192. # same bindings, but for the arrow keys
  193. bindsym Left resize shrink width 10 px or 10 ppt
  194. bindsym Down resize grow height 10 px or 10 ppt
  195. bindsym Up resize shrink height 10 px or 10 ppt
  196. bindsym Right resize grow width 10 px or 10 ppt
  197.  
  198. # back to normal: Enter or Escape
  199. bindsym Return mode "default"
  200. bindsym Escape mode "default"
  201. }
  202.  
  203. bindsym $mod+r mode "resize"
  204.  
  205. # colors
  206. #
  207. #class border backgr. text
  208. #client.focused #909737 #909737 #111111
  209. #client.focused_inactive #111111 #111111 #999999
  210. #client.unfocused #222222 #222222 #999999
  211. #client.urgent #a5a5a5 #a5a5a5 #2e3436
  212. #client.background #161616
  213. #class border backgr. text
  214. client.focused #999999 #999999 #111111
  215. client.focused_inactive #111111 #111111 #999999
  216. client.unfocused #333333 #333333 #999999
  217. client.urgent #a5a5a5 #a5a5a5 #333333
  218. client.background #161616
  219.  
  220. #gaps
  221. #gaps inner 5
  222. #gaps outer 5
  223.  
  224. # Start i3bar to display a workspace bar (plus the system information i3status
  225. # finds out, if available)
  226. bar {
  227. status_command $HOME/bin/conky-i3bar
  228. tray_output none
  229. position top
  230. mode dock
  231. # font pango:fixed 6
  232. # font pango:Droid Sans 12px
  233. font pango:Sauce Code Powerline Medium 12px
  234. #font -*-profont-*-*-*-*-11-*-*-*-*-*-*-*
  235. # font pango:Consolas Bold 9px
  236. colors {
  237. background #161616
  238. statusline #605c5a
  239. # class border backgrd text
  240. focused_workspace #161616 #999999 #ffffff
  241. active_workspace #161616 #161616 #a5a5a5
  242. inactive_workspace #161616 #545454 #a5a5a5
  243. urgent_workspace #161616 #545454 #a5a5a5
  244. }
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement