my configs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

193 lines
6.2 KiB

  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. # i3 config file (v4)
  8. #
  9. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  10. set $mod Mod4
  11. # Font for window titles. Will also be used by the bar unless a different font
  12. # is used in the bar {} block below.
  13. #font pango:Monospace 10
  14. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  15. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  16. font pango:DejaVu Sans Mono 9
  17. # Before i3 v4.8, we used to recommend this one as the default:
  18. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  19. # The font above is very space-efficient, that is, it looks good, sharp and
  20. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  21. # X core fonts rendering does not support right-to-left and this being a bitmap
  22. # font, it doesn’t scale on retina/hidpi displays.
  23. # Use Mouse+$mod to drag floating windows to their wanted position
  24. floating_modifier $mod
  25. # start a terminal
  26. bindsym $mod+Return exec urxvt
  27. # kill focused window
  28. bindsym $mod+Shift+q kill
  29. # change focus
  30. bindsym $mod+j focus left
  31. bindsym $mod+k focus down
  32. bindsym $mod+l focus up
  33. bindsym $mod+semicolon focus right
  34. # alternatively, you can use the cursor keys:
  35. bindsym $mod+Left focus left
  36. bindsym $mod+Down focus down
  37. bindsym $mod+Up focus up
  38. bindsym $mod+Right focus right
  39. # move focused window
  40. bindsym $mod+Shift+j move left
  41. bindsym $mod+Shift+k move down
  42. bindsym $mod+Shift+l move up
  43. bindsym $mod+Shift+semicolon move right
  44. # alternatively, you can use the cursor keys:
  45. bindsym $mod+Shift+Left move left
  46. bindsym $mod+Shift+Down move down
  47. bindsym $mod+Shift+Up move up
  48. bindsym $mod+Shift+Right move right
  49. # split in horizontal orientation
  50. bindsym $mod+h split h
  51. # split in vertical orientation
  52. bindsym $mod+v split v
  53. # enter fullscreen mode for the focused container
  54. bindsym $mod+f fullscreen toggle
  55. # change container layout (stacked, tabbed, toggle split)
  56. bindsym $mod+w layout tabbed
  57. bindsym $mod+e layout toggle split
  58. bindsym $mod+s layout stacked
  59. # toggle tiling / floating
  60. bindsym $mod+Shift+space floating toggle
  61. # change focus between tiling / floating windows
  62. bindsym $mod+space focus mode_toggle
  63. # focus the parent container
  64. bindsym $mod+a focus parent
  65. # focus the child container
  66. #bindsym $mod+d focus child
  67. # switch to workspace
  68. bindsym $mod+1 workspace 1 irc
  69. bindsym $mod+2 workspace 2 web
  70. bindsym $mod+3 workspace 3 term
  71. bindsym $mod+4 workspace 4
  72. bindsym $mod+5 workspace 5
  73. bindsym $mod+6 workspace 6
  74. bindsym $mod+7 workspace 7
  75. bindsym $mod+8 workspace 8
  76. bindsym $mod+9 workspace 9
  77. bindsym $mod+0 workspace 10
  78. # move focused container to workspace
  79. bindsym $mod+Shift+1 move container to workspace 1 irc
  80. bindsym $mod+Shift+2 move container to workspace 2 web
  81. bindsym $mod+Shift+3 move container to workspace 3 term
  82. bindsym $mod+Shift+4 move container to workspace 4
  83. bindsym $mod+Shift+5 move container to workspace 5
  84. bindsym $mod+Shift+6 move container to workspace 6
  85. bindsym $mod+Shift+7 move container to workspace 7
  86. bindsym $mod+Shift+8 move container to workspace 8
  87. bindsym $mod+Shift+9 move container to workspace 9
  88. bindsym $mod+Shift+0 move container to workspace 10
  89. # reload the configuration file
  90. bindsym $mod+Shift+c reload
  91. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  92. bindsym $mod+Shift+r restart
  93. # exit i3 (logs you out of your X session)
  94. 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'"
  95. # resize window (you can also use the mouse for that)
  96. mode "resize" {
  97. # These bindings trigger as soon as you enter the resize mode
  98. # Pressing left will shrink the window’s width.
  99. # Pressing right will grow the window’s width.
  100. # Pressing up will shrink the window’s height.
  101. # Pressing down will grow the window’s height.
  102. bindsym j resize shrink width 10 px or 10 ppt
  103. bindsym k resize grow height 10 px or 10 ppt
  104. bindsym l resize shrink height 10 px or 10 ppt
  105. bindsym semicolon resize grow width 10 px or 10 ppt
  106. # same bindings, but for the arrow keys
  107. bindsym Left resize shrink width 10 px or 10 ppt
  108. bindsym Down resize grow height 10 px or 10 ppt
  109. bindsym Up resize shrink height 10 px or 10 ppt
  110. bindsym Right resize grow width 10 px or 10 ppt
  111. # back to normal: Enter or Escape
  112. bindsym Return mode "default"
  113. bindsym Escape mode "default"
  114. }
  115. bindsym $mod+r mode "resize"
  116. # Start i3bar to display a workspace bar (plus the system information i3status
  117. # finds out, if available)
  118. bar {
  119. position top
  120. colors { # Whole color settings
  121. background #000000#000000
  122. statusline #ffffff#ffffff
  123. separator #007fff#007fff
  124. # Type border background font
  125. focused_workspace #008fff#008fff #007fff#007fff #ffffff#ffffff
  126. active_workspace #333333#333333 #5f676a#5f676a #ffffff#ffffff
  127. inactive_workspace #333333#333333 #222222#222222 #888888#888888
  128. urgent_workspace #aa0000#aa0000 #990000#990000 #ffffff#ffffff
  129. }
  130. #font pango:terminus\ Powerline 8
  131. status_command i3blocks -c ~/.i3/block.conf
  132. }
  133. # Colors
  134. client.focused #007fbf #007fbf #ffffff
  135. client.unfocused #666666 #666666 #ffffff
  136. client.urgent #aa0000 #990000 #ffffff
  137. # Startup programs
  138. exec --no-startup-id feh --bg-fill ~/pictures/wallpaper.jpg
  139. exec --no-startup-id devmon --no-gui
  140. exec --no-startup-id pulseaudio --start
  141. exec --no-startup-id xbindkeys
  142. exec --no-startup-id wicd-gtk -t
  143. # Custom KeyBinds
  144. bindsym Control+mod4+l exec sh ~/.i3/i3lock.sh
  145. bindsym Print exec scrot '%Y-%m-%d-%T_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/'
  146. #smart_borders on|no_gaps
  147. for_window [class="^.*"] border pixel 0
  148. gaps inner 5
  149. gaps outer 5
  150. smart_gaps on
  151. #Nautilus
  152. bindsym $mod+Shift+U exec nautilus --no-desktop --browser
  153. #rofi
  154. bindsym $mod+o exec rofi -show window
  155. bindsym $mod+i exec rofi -show ssh
  156. bindsym $mod+d exec rofi -show run