Advertisement
Guest User

.config

a guest
May 26th, 2015
1,719
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 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.  
  13. # Workspace Names
  14.  
  15. set $ws1 1:Main
  16. set $ws2 2:Read
  17. set $ws3 3:Thunar
  18. set $ws4 4
  19. set $ws5 5
  20. set $ws6 6
  21. set $ws7 7
  22. set $ws8 8
  23. set $ws9 9
  24. set $ws10 10:Music
  25.  
  26. #Mod Key
  27. set $mod Mod4
  28.  
  29. # Font for window titles. Will also be used by the bar unless a different font
  30. # is used in the bar {} block below.
  31. font pango:monospace 8
  32.  
  33. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  34. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  35. #font pango:DejaVu Sans Mono 8
  36.  
  37. # Before i3 v4.8, we used to recommend this one as the default:
  38. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  39. # The font above is very space-efficient, that is, it looks good, sharp and
  40. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  41. # X core fonts rendering does not support right-to-left and this being a bitmap
  42. # font, it doesn’t scale on retina/hidpi displays.
  43.  
  44. # Use Mouse+$mod to drag floating windows to their wanted position
  45. floating_modifier $mod
  46.  
  47. #Remove borders
  48. for_window [class="^.*"] border pixel 2
  49. for_window [window_role="pop-up"] floating enable;border normal
  50. for_window [window_role="task_dialog"] floating enable;border normal
  51.  
  52. #Where to run
  53. assign [class="Firefox"] $ws1
  54. assign [class="Gedit"] $ws2
  55. assign [class="luakit"] $ws2
  56. assign [class="Thunar"] $ws3
  57. assign [class="Gvim"] $ws2
  58. assign [class="Steam"] $ws10
  59. assign [window_role="cmus"] $ws3
  60.  
  61.  
  62. # start a terminal
  63. bindsym $mod+Return exec i3-sensible-terminal
  64. #bindsym $mod+Return exec urxvt
  65.  
  66. #Print Screen Button
  67. bindsym Print exec scrot -q 100 -e 'mv $f ~/Pictures'
  68.  
  69. # kill focused window
  70. bindsym $mod+Shift+q kill
  71.  
  72. # sound shortcuts
  73. bindsym XF86AudioPlay exec /home/icemanx7/.i3/.scripts/audiocontrols.sh play
  74. bindsym XF86AudioStop exec /home/icemanx7/.i3/.scripts/audiocontrols.sh stop
  75. bindsym XF86AudioNext exec ~/.scripts/audiocontrols.sh next
  76. bindsym XF86AudioPrev exec ~/.scripts/audiocontrols.sh prev
  77. bindsym XF86Tools exec gnome-terminal -x sh -c "cmus"
  78. bindsym XF86AudioRaiseVolume exec amixer -c 1 set Master 5+
  79. bindsym XF86AudioLowerVolume exec amixer -c 1 set Master 5-
  80. bindsym XF86AudioMute exec amixer -q set Master toggle
  81.  
  82.  
  83. # Sreen brightness controls (brightness up, brightness down)
  84. bindsym XF86MonBrightnessUp exec xbacklight -inc 5
  85. bindsym XF86MonBrightnessDown exec xbacklight -dec 5
  86.  
  87.  
  88.  
  89. # start dmenu (a program launcher)
  90. bindsym $mod+d exec dmenu_run -nb black -nf cyan -fn "-xos4-terminus-medium-r-*-*-10-*"
  91.  
  92. # start dmenu (a program launcher)
  93. #bindsym $mod+d exec dmenu_run
  94. # There also is the (new) i3-dmenu-desktop which only displays applications
  95. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  96. # installed.
  97. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  98.  
  99. # change focus
  100. bindsym $mod+j focus left
  101. bindsym $mod+k focus down
  102. bindsym $mod+l focus up
  103. bindsym $mod+semicolon focus right
  104.  
  105. # alternatively, you can use the cursor keys:
  106. bindsym $mod+Left focus left
  107. bindsym $mod+Down focus down
  108. bindsym $mod+Up focus up
  109. bindsym $mod+Right focus right
  110.  
  111. # move focused window
  112. bindsym $mod+Shift+j move left
  113. bindsym $mod+Shift+k move down
  114. bindsym $mod+Shift+l move up
  115. bindsym $mod+Shift+semicolon move right
  116.  
  117. # alternatively, you can use the cursor keys:
  118. bindsym $mod+Shift+Left move left
  119. bindsym $mod+Shift+Down move down
  120. bindsym $mod+Shift+Up move up
  121. bindsym $mod+Shift+Right move right
  122.  
  123. # split in horizontal orientation
  124. bindsym $mod+h split h
  125.  
  126. # split in vertical orientation
  127. bindsym $mod+v split v
  128.  
  129. # enter fullscreen mode for the focused container
  130. bindsym $mod+f fullscreen toggle
  131.  
  132. # change container layout (stacked, tabbed, toggle split)
  133. bindsym $mod+s layout stacking
  134. bindsym $mod+w layout tabbed
  135. bindsym $mod+e layout toggle split
  136.  
  137. # toggle tiling / floating
  138. bindsym $mod+Shift+space floating toggle
  139.  
  140. # change focus between tiling / floating windows
  141. bindsym $mod+space focus mode_toggle
  142.  
  143. # focus the parent container
  144. bindsym $mod+a focus parent
  145.  
  146. # focus the child container
  147. #bindsym $mod+d focus child
  148.  
  149. # switch to workspace
  150. bindsym $mod+1 workspace $ws1
  151. bindsym $mod+2 workspace $ws2
  152. bindsym $mod+3 workspace $ws3
  153. bindsym $mod+4 workspace $ws4
  154. bindsym $mod+5 workspace $ws5
  155. bindsym $mod+6 workspace $ws6
  156. bindsym $mod+7 workspace $ws7
  157. bindsym $mod+8 workspace $ws8
  158. bindsym $mod+9 workspace $ws9
  159. bindsym $mod+0 workspace $ws10
  160.  
  161. # move focused container to workspace
  162. bindsym $mod+Shift+1 move container to workspace 1
  163. bindsym $mod+Shift+2 move container to workspace 2
  164. bindsym $mod+Shift+3 move container to workspace 3
  165. bindsym $mod+Shift+4 move container to workspace 4
  166. bindsym $mod+Shift+5 move container to workspace 5
  167. bindsym $mod+Shift+6 move container to workspace 6
  168. bindsym $mod+Shift+7 move container to workspace 7
  169. bindsym $mod+Shift+8 move container to workspace 8
  170. bindsym $mod+Shift+9 move container to workspace 9
  171. bindsym $mod+Shift+0 move container to workspace 10
  172.  
  173. # reload the configuration file
  174. bindsym $mod+Shift+c reload
  175. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  176. bindsym $mod+Shift+r restart
  177. # exit i3 (logs you out of your X session)
  178. 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'"
  179.  
  180. # resize window (you can also use the mouse for that)
  181. mode "resize" {
  182. # These bindings trigger as soon as you enter the resize mode
  183.  
  184. # Pressing left will shrink the window’s width.
  185. # Pressing right will grow the window’s width.
  186. # Pressing up will shrink the window’s height.
  187. # Pressing down will grow the window’s height.
  188. bindsym j resize shrink width 10 px or 10 ppt
  189. bindsym k resize grow height 10 px or 10 ppt
  190. bindsym l resize shrink height 10 px or 10 ppt
  191. bindsym semicolon resize grow width 10 px or 10 ppt
  192.  
  193. # same bindings, but for the arrow keys
  194. bindsym Left resize shrink width 10 px or 10 ppt
  195. bindsym Down resize grow height 10 px or 10 ppt
  196. bindsym Up resize shrink height 10 px or 10 ppt
  197. bindsym Right resize grow width 10 px or 10 ppt
  198.  
  199. # back to normal: Enter or Escape
  200. bindsym Return mode "default"
  201. bindsym Escape mode "default"
  202. }
  203.  
  204. bindsym $mod+r mode "resize"
  205.  
  206.  
  207. set $Locker i3lock && sleep 1
  208.  
  209. set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
  210. mode "$mode_system" {
  211. bindsym l exec --no-startup-id $Locker, mode "default"
  212. bindsym e exec --no-startup-id i3-msg exit, mode "default"
  213. bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
  214. bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
  215. bindsym r exec --no-startup-id systemctl reboot, mode "default"
  216. bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
  217.  
  218. # back to normal: Enter or Escape
  219. bindsym Return mode "default"
  220. bindsym Escape mode "default"
  221. }
  222.  
  223. bindsym $mod+Pause mode "$mode_system"
  224.  
  225. # Start i3bar to display a workspace bar (plus the system information i3status
  226. # finds out, if available)
  227. bar {
  228.  
  229. position top
  230. status_command ~/.i3/conky
  231. #status_command i3status
  232. colors {
  233. background #181b20
  234. statusline #9b9081
  235. separator #252525
  236.  
  237. # Colors border backgr. text
  238. focused_workspace #141414 #CCCCCC #333333
  239. active_workspace #141414 #181b20 #746C48
  240. inactive_workspace #141414 #181b20 #444444
  241. urgent_workspace #141414 #181b20 #8c644c
  242. }
  243. }
  244.  
  245.  
  246. # Window colors border backgr. text indicator
  247. client.focused #6D9098 #6D9098 #888888 #6D9098
  248. client.focused_inactive #222323 #222323 #888888 #484e50
  249. client.unfocused #222323 #222323 #888888 #292d2e
  250. client.urgent #2f343a #8c644c #888888 #900000
  251.  
  252. #--------------------------
  253. #APPLETES AUTORUN
  254. #--------------------------
  255.  
  256. #This for dual monitor display
  257. exec --no-startup-id xrandr --output eDP1 --auto --right-of VGA1
  258.  
  259. # usb storage automounter
  260. exec --no-startup-id udiskie --smart-tray
  261.  
  262. #The conky setup
  263. exec --no-startup-id conky -c /home/icemanx7/.harmattan-themes/Transparent/Celsius/Comfortable/.conkyrc
  264.  
  265. #For background Picks
  266. exec --no-startup-id feh --bg-scale /home/icemanx7/Downloads/test.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement