Guest User

Untitled

a guest
Sep 28th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.51 KB | None | 0 0
  1.  
  2.  
  3. # This file has been auto-generated by i3-config-wizard(1).
  4. # It will not be overwritten, so edit it as you like.
  5. #
  6. # Should you change your keyboard layout some time, delete
  7. # this file and re-run i3-config-wizard(1).
  8. #
  9.  
  10. # i3 config file (v4)
  11. #
  12. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  13.  
  14. set $mod Mod4
  15.  
  16. # Font for window titles. Will also be used by the bar unless a different font
  17. # is used in the bar {} block below.
  18. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  19. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  20. font pango:DejaVu Sans Mono 8
  21. # Before i3 v4.8, we used to recommend this one as the default:
  22. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  23. # The font above is very space-efficient, that is, it looks good, sharp and
  24. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  25. # X core fonts rendering does not support right-to-left and this being a bitmap
  26. # font, it doesn’t scale on retina/hidpi displays.
  27.  
  28. # Use Mouse+$mod to drag floating windows to their wanted position
  29. floating_modifier $mod
  30.  
  31. # start a terminal
  32. bindsym $mod+Return exec i3-sensible-terminal
  33.  
  34. # kill focused window
  35. bindsym $mod+Shift+q kill
  36.  
  37. # start dmenu (a program launcher)
  38. bindsym $mod+d exec dmenu_run
  39. # There also is the (new) i3-dmenu-desktop which only displays applications
  40. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  41. # installed.
  42. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  43.  
  44. # change focus
  45. bindsym $mod+j focus left
  46. bindsym $mod+k focus down
  47. bindsym $mod+l focus up
  48. bindsym $mod+ccaron focus right
  49.  
  50. # alternatively, you can use the cursor keys:
  51. bindsym $mod+Left focus left
  52. bindsym $mod+Down focus down
  53. bindsym $mod+Up focus up
  54. bindsym $mod+Right focus right
  55.  
  56. # move focused window
  57. bindsym $mod+Shift+j move left
  58. bindsym $mod+Shift+k move down
  59. bindsym $mod+Shift+l move up
  60. bindsym $mod+Shift+ccaron move right
  61.  
  62. # alternatively, you can use the cursor keys:
  63. bindsym $mod+Shift+Left move left
  64. bindsym $mod+Shift+Down move down
  65. bindsym $mod+Shift+Up move up
  66. bindsym $mod+Shift+Right move right
  67.  
  68. # split in horizontal orientation
  69. bindsym $mod+h split h
  70.  
  71. # split in vertical orientation
  72. bindsym $mod+v split v
  73.  
  74. # enter fullscreen mode for the focused container
  75. bindsym $mod+f fullscreen
  76.  
  77. # change container layout (stacked, tabbed, toggle split)
  78. bindsym $mod+s layout stacking
  79. bindsym $mod+w layout tabbed
  80. bindsym $mod+e layout toggle split
  81.  
  82. # toggle tiling / floating
  83. bindsym $mod+Shift+space floating toggle
  84.  
  85. # change focus between tiling / floating windows
  86. bindsym $mod+space focus mode_toggle
  87.  
  88. # focus the parent container
  89. bindsym $mod+a focus parent
  90.  
  91. # focus the child container
  92. #bindsym $mod+d focus child
  93.  
  94. # switch to workspace
  95. bindsym $mod+1 workspace 1
  96. bindsym $mod+2 workspace 2
  97. bindsym $mod+3 workspace 3
  98. bindsym $mod+4 workspace 4
  99. bindsym $mod+5 workspace 5
  100. bindsym $mod+6 workspace 6
  101. bindsym $mod+7 workspace 7
  102. bindsym $mod+8 workspace 8
  103. bindsym $mod+9 workspace 9
  104. bindsym $mod+0 workspace 10
  105.  
  106. # move focused container to workspace
  107. bindsym $mod+Shift+1 move container to workspace 1
  108. bindsym $mod+Shift+2 move container to workspace 2
  109. bindsym $mod+Shift+3 move container to workspace 3
  110. bindsym $mod+Shift+4 move container to workspace 4
  111. bindsym $mod+Shift+5 move container to workspace 5
  112. bindsym $mod+Shift+6 move container to workspace 6
  113. bindsym $mod+Shift+7 move container to workspace 7
  114. bindsym $mod+Shift+8 move container to workspace 8
  115. bindsym $mod+Shift+9 move container to workspace 9
  116. bindsym $mod+Shift+0 move container to workspace 10
  117.  
  118. #turn on the keyboard backlight
  119. bindsym $mod+x exec "xset led 3"
  120. #apt get update and apt-get upgrade
  121. bindsym $mod+u exec "gnome-terminal -e './update.sh'"
  122. #start thunderbird
  123. bindsym $mod+t exec "icedove"
  124. #start otter browser
  125. bindsym $mod+o exec "otter-browser"
  126. #start dolphinqt5 while cheating it to be started in lxde
  127. bindsym $mod+p exec "XDG_CURRENT_DESKTOP=lxde dolphin"
  128. #backlight options
  129. bindsym $mod+Shift+n exec "xrandr --output LVDS-1 --brightness 0.3"
  130. bindsym $mod+Shift+m exec "xrandr --output LVDS-1 --brightness 1.0"
  131.  
  132.  
  133. # reload the configuration file
  134. bindsym $mod+Shift+c reload
  135. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  136. bindsym $mod+Shift+r restart
  137. # exit i3 (logs you out of your X session)
  138. 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'"
  139.  
  140. # resize window (you can also use the mouse for that)
  141. mode "resize" {
  142. # These bindings trigger as soon as you enter the resize mode
  143.  
  144. # Pressing left will shrink the window’s width.
  145. # Pressing right will grow the window’s width.
  146. # Pressing up will shrink the window’s height.
  147. # Pressing down will grow the window’s height.
  148. bindsym j resize shrink width 10 px or 10 ppt
  149. bindsym k resize grow height 10 px or 10 ppt
  150. bindsym l resize shrink height 10 px or 10 ppt
  151. bindsym ccaron resize grow width 10 px or 10 ppt
  152.  
  153. # same bindings, but for the arrow keys
  154. bindsym Left resize shrink width 10 px or 10 ppt
  155. bindsym Down resize grow height 10 px or 10 ppt
  156. bindsym Up resize shrink height 10 px or 10 ppt
  157. bindsym Right resize grow width 10 px or 10 ppt
  158.  
  159. # back to normal: Enter or Escape
  160. bindsym Return mode "default"
  161. bindsym Escape mode "default"
  162. }
  163.  
  164. bindsym $mod+r mode "resize"
  165.  
  166. # Start i3bar to display a workspace bar (plus the system information i3status
  167. # finds out, if available)
  168. bar {
  169. status_command i3status
  170. position top
  171. colors {
  172. background #90C3D4
  173. statusline #000000
  174. separator #666666
  175.  
  176. focused_workspace #9993D4 #285577 #ffffff
  177. active_workspace #333333 #5f676a #ffffff
  178. inactive_workspace #333333 #222222 #888888
  179. urgent_workspace #2f343a #900000 #ffffff
  180. }
  181. }
  182.  
  183. # Only hide window title on terminal windows
  184. for_window [title="Terminal"] border pixel 1
  185.  
  186. exec --no-startup-id wicd-client
  187. exec --no-startup-id ~/backlight.sh
  188. exec --no-startup-id xrandr --output HDMI-1 --auto --left-of LVDS-1 --output LVDS-1 --scale 1.0001x1.0001 --mode 1366x768
  189. exec --no-startup-id ~/wallpaper.sh
  190. exec --no-startup-id xscreensaver
  191. #exec --no-startup-id indicator-sound-switcher
Advertisement
Add Comment
Please, Sign In to add comment