Advertisement
rtl8192

%home%/.i3/config

Apr 15th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.06 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 somewhen, 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. ISO 10646 = Unicode
  15. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  16. font pango:DejaVu Sans Mono 10
  17.  
  18. #/////////////
  19. #i3-gaps
  20.  
  21. ##borders               #border  #backgr        #text   #indicator?
  22. client.focused          #f4e9d1  #444444        #ffffff #555555
  23. client.focused_inactive #0b1f33  #212121        #ffffff #252a33
  24. client.unfocused        #0b1f33  #212121        #aaaaaa #252a33
  25.                                  #252a33
  26.  
  27. new_window pixel 3
  28. gaps outer 10
  29. smart_gaps on
  30. smart_borders on
  31. gaps inner 4
  32.  
  33. #////////////
  34.  
  35. # Use Mouse+$mod to drag floating windows to their wanted position
  36. floating_modifier $mod
  37.  
  38. # start a terminal
  39. bindsym $mod+Return exec urxvt
  40.  
  41. # kill focused window
  42. bindsym $mod+Shift+Q kill
  43.  
  44. # start dmenu (a program launcher)
  45. bindsym $mod+d exec rofi -show run
  46.  
  47. # change focus
  48. bindsym $mod+j focus left
  49. bindsym $mod+k focus down
  50. bindsym $mod+l focus up
  51. bindsym $mod+semicolon focus right
  52.  
  53. # alternatively, you can use the cursor keys:
  54. bindsym $mod+Left focus left
  55. bindsym $mod+Down focus down
  56. bindsym $mod+Up focus up
  57. bindsym $mod+Right focus right
  58.  
  59. # move focused window
  60. bindsym $mod+Shift+J move left
  61. bindsym $mod+Shift+K move down
  62. bindsym $mod+Shift+L move up
  63. bindsym $mod+Shift+colon move right
  64.  
  65. # alternatively, you can use the cursor keys:
  66. bindsym $mod+Shift+Left move left
  67. bindsym $mod+Shift+Down move down
  68. bindsym $mod+Shift+Up move up
  69. bindsym $mod+Shift+Right move right
  70.  
  71. # split in horizontal orientation
  72. bindsym $mod+h split h
  73.  
  74. # split in vertical orientation
  75. bindsym $mod+v split v
  76.  
  77. # enter fullscreen mode for the focused container
  78. bindsym $mod+f fullscreen
  79.  
  80. # change container layout (stacked, tabbed, default)
  81. bindsym $mod+s layout stacking
  82. bindsym $mod+w layout tabbed
  83. bindsym $mod+e layout default
  84.  
  85. # toggle tiling / floating
  86. bindsym $mod+Shift+space floating toggle
  87.  
  88. # change focus between tiling / floating windows
  89. bindsym $mod+space focus mode_toggle
  90.  
  91. # focus the parent container
  92. bindsym $mod+a focus parent
  93.  
  94. # focus the child container
  95. #bindcode $mod+d focus child
  96.  
  97. # switch to workspace
  98. bindsym $mod+1 workspace 1
  99. bindsym $mod+2 workspace 2
  100. bindsym $mod+3 workspace 3
  101. bindsym $mod+4 workspace 4
  102. bindsym $mod+5 workspace 5
  103. bindsym $mod+6 workspace 6
  104. bindsym $mod+7 workspace 7
  105. bindsym $mod+8 workspace 8
  106. bindsym $mod+9 workspace 9
  107. bindsym $mod+0 workspace 10
  108. bindsym $mod+Control+Left workspace prev
  109. bindsym $mod+Control+Right workspace next
  110.  
  111. # move focused container to workspace
  112. bindsym $mod+Shift+exclam move workspace 1
  113. bindsym $mod+Shift+at move workspace 2
  114. bindsym $mod+Shift+numbersign move workspace 3
  115. bindsym $mod+Shift+dollar move workspace 4
  116. bindsym $mod+Shift+percent move workspace 5
  117. bindsym $mod+Shift+asciicircum move workspace 6
  118. bindsym $mod+Shift+ampersand move workspace 7
  119. bindsym $mod+Shift+asterisk move workspace 8
  120. bindsym $mod+Shift+parenleft move workspace 9
  121. bindsym $mod+Shift+parenright move workspace 10
  122.  
  123. # reload the configuration file
  124. bindsym $mod+Shift+C reload
  125. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  126. bindsym $mod+Shift+R restart
  127. # exit i3 (logs you out of your X session)
  128. bindsym $mod+Shift+E exit
  129.  
  130. # resize window (you can also use the mouse for that)
  131. mode "resize" {
  132.         # These bindings trigger as soon as you enter the resize mode
  133.  
  134.         # They resize the border in the direction you pressed, e.g.
  135.         # when pressing left, the window is resized so that it has
  136.         # more space on its left
  137.  
  138. bindsym j resize shrink left 10 px or 10 ppt
  139. bindsym Shift+J resize grow   left 10 px or 10 ppt
  140.  
  141. bindsym k resize shrink down 10 px or 10 ppt
  142. bindsym Shift+K resize grow   down 10 px or 10 ppt
  143.  
  144. bindsym l resize shrink up 10 px or 10 ppt
  145. bindsym Shift+L resize grow   up 10 px or 10 ppt
  146.  
  147. bindsym semicolon resize shrink right 10 px or 10 ppt
  148. bindsym Shift+colon resize grow   right 10 px or 10 ppt
  149.  
  150.         # same bindings, but for the arrow keys
  151. bindsym Left resize shrink left 10 px or 10 ppt
  152. bindsym Shift+Left resize grow   left 10 px or 10 ppt
  153.  
  154. bindsym Down resize shrink down 10 px or 10 ppt
  155. bindsym Shift+Down resize grow   down 10 px or 10 ppt
  156.  
  157. bindsym Up resize shrink up 10 px or 10 ppt
  158. bindsym Shift+Up resize grow   up 10 px or 10 ppt
  159.  
  160. bindsym Right resize shrink right 10 px or 10 ppt
  161. bindsym Shift+Right resize grow   right 10 px or 10 ppt
  162.  
  163.         # back to normal: Enter or Escape
  164. bindsym Return mode "default"
  165. bindsym Escape mode "default"
  166. }
  167.  
  168. bindsym $mod+r mode "resize"
  169.  
  170. #user
  171.  
  172. # Pulse Audio controls
  173. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +3% #increase sound volume
  174. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -3% #decrease sound volume
  175. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  176.  
  177. # Media player controls
  178. bindsym XF86AudioPlay exec playerctl play
  179. bindsym XF86AudioPause exec playerctl pause
  180. bindsym XF86AudioNext exec playerctl next
  181. bindsym XF86AudioPrev exec playerctl previous
  182.  
  183. bindsym $mod+i exec sudo istartup
  184.  
  185. # Take screenshots
  186. bindsym Print exec scrot '%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Изображения/'
  187. bindsym $mod+Print exec scrot -u '%Y-%m-%d_%H:%M:%S.png' -e 'mv $f ~/Изображения/'
  188.  
  189. #Switch Alt+Tab
  190. bindsym $mod+Tab exec rofi -show
  191.  
  192. # Start i3bar to display a workspace bar (plus the system information i3status
  193. # finds out, if available)
  194. #bar {
  195. #   mode dock
  196. #   position top
  197. #   workspace_buttons yes
  198. #       status_command i3status
  199.    
  200. #}
  201.  
  202. #i3lock screen
  203. bindsym $mod+Shift+x exec locker
  204.  
  205. exec_always xrdb ~/.Xresources
  206. exec polybar example
  207. exec xfce4-power-manager
  208. exec compton
  209. exec nitrogen --restore
  210. #exec guake
  211. #exec ~/.dropbox-dist/dropboxd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement