Advertisement
Guest User

Untitled

a guest
Apr 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.23 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=kde 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. #rsstail
  132. bindsym $mod+n exec "gnome-terminal -e 'rsstail -tpalr -u https://moj.tvz.hr//skini/mojrss/14416/1894339649 -u http://www.phoronix.com/rss.php -u http://www.tvz.hr/feed/ -u http://www.bug.hr/rss/vijesti/ -u https://feeds.feedburner.com/d0od -u https://feeds2.feedburner.com/webupd8 -u http://planet.debian.org/rss20.xml -u https://otter-browser.org/feed/ -u https://planet.gnu.org/rss20.xml -u http://hacklab01.org/blog.rss -u https://stallman.org/rss/rss.xml -u https://feeds.feedburner.com/linuxzasve -u https://lainchan.org/sci/recent.xml -u https://lainchan.org/tech/recent.xml -u https://lainchan.org/sec/recent.xml'"
  133. bindsym $mod+c exec "killall oneko"
  134.  
  135. # reload the configuration file
  136. bindsym $mod+Shift+c reload
  137. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  138. bindsym $mod+Shift+r restart
  139. # exit i3 (logs you out of your X session)
  140. 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'"
  141.  
  142. # resize window (you can also use the mouse for that)
  143. mode "resize" {
  144. # These bindings trigger as soon as you enter the resize mode
  145.  
  146. # Pressing left will shrink the window’s width.
  147. # Pressing right will grow the window’s width.
  148. # Pressing up will shrink the window’s height.
  149. # Pressing down will grow the window’s height.
  150. bindsym j resize shrink width 10 px or 10 ppt
  151. bindsym k resize grow height 10 px or 10 ppt
  152. bindsym l resize shrink height 10 px or 10 ppt
  153. bindsym ccaron resize grow width 10 px or 10 ppt
  154.  
  155. # same bindings, but for the arrow keys
  156. bindsym Left resize shrink width 10 px or 10 ppt
  157. bindsym Down resize grow height 10 px or 10 ppt
  158. bindsym Up resize shrink height 10 px or 10 ppt
  159. bindsym Right resize grow width 10 px or 10 ppt
  160.  
  161. # back to normal: Enter or Escape
  162. bindsym Return mode "default"
  163. bindsym Escape mode "default"
  164. }
  165.  
  166. bindsym $mod+r mode "resize"
  167.  
  168. # Start i3bar to display a workspace bar (plus the system information i3status
  169. # finds out, if available)
  170. bar {
  171. status_command i3status
  172. position top
  173. colors {
  174. background #90C3D4
  175. statusline #000000
  176. separator #666666
  177.  
  178. focused_workspace #9993D4 #285577 #ffffff
  179. active_workspace #333333 #5f676a #ffffff
  180. inactive_workspace #333333 #222222 #888888
  181. urgent_workspace #2f343a #900000 #ffffff
  182. }
  183. }
  184.  
  185. # Only hide window title on terminal windows
  186. for_window [title="Terminal"] border pixel 1
  187.  
  188. #exec --no-startup-id wicd-client
  189. exec --no-startup-id nm-applet
  190. exec --no-startup-id ~/backlight.sh
  191. exec --no-startup-id xrandr --output HDMI-1 --auto --left-of LVDS-1 --output LVDS-1 --scale 1.0001x1.0001 --mode 1366x768
  192. exec --no-startup-id ~/wallpaper.sh
  193. exec --no-startup-id xscreensaver
  194. #exec --no-startup-id indicator-sound-switcher
  195. exec --no-startup-id oneko -speed 32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement