Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 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 https://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. set $mod Control
  13. set $alt Mod1
  14.  
  15. # Font for window titles. Will also be used by the bar unless a different font
  16. # is used in the bar {} block below.
  17. #font pango:monospace 8
  18.  
  19. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  20. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  21. font pango:DejaVu Sans Mono 0
  22.  
  23. # Before i3 v4.8, we used to recommend this one as the default:
  24. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  25. # The font above is very space-efficient, that is, it looks good, sharp and
  26. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  27. # X core fonts rendering does not support right-to-left and this being a bitmap
  28. # font, it doesn’t scale on retina/hidpi displays.
  29.  
  30. # Use Mouse+$mod to drag floating windows to their wanted position
  31. floating_modifier $mod
  32.  
  33. # start a terminal
  34. # bindsym $mod+ctrl+t exec i3-sensible-terminal
  35. # bindsym $alt+ctrl+t exec terminator
  36. bindsym $alt+ctrl+t exec terminator
  37.  
  38. # kill focused window
  39. bindsym $alt+q kill
  40.  
  41. # start dmenu (a program launcher)
  42. bindsym $mod+d exec dmenu_run
  43. # There also is the (new) i3-dmenu-desktop which only displays applications
  44. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  45. # installed.
  46. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  47.  
  48. #start xkill [killer]
  49. bindsym $mod+q exec xkill
  50.  
  51. # change focus
  52. bindsym $alt+h focus left
  53. bindsym $alt+j focus down
  54. bindsym $alt+k focus up
  55. bindsym $alt+l focus right
  56.  
  57. # alternatively, you can use the cursor keys:
  58. bindsym $mod+Left focus left
  59. bindsym $mod+Down focus down
  60. bindsym $mod+Up focus up
  61. bindsym $mod+Right focus right
  62.  
  63. # move focused window
  64. bindsym $mod+Shift+h move left
  65. bindsym $mod+Shift+j move down
  66. bindsym $mod+Shift+k move up
  67. bindsym $mod+Shift+l move right
  68.  
  69. # alternatively, you can use the cursor keys:
  70. bindsym $mod+Shift+Left move left
  71. bindsym $mod+Shift+Down move down
  72. bindsym $mod+Shift+Up move up
  73. bindsym $mod+Shift+Right move right
  74.  
  75. # split in horizontal orientation
  76. bindsym $mod1+h split h
  77.  
  78. # split in vertical orientation
  79. bindsym $alt+v split v
  80.  
  81. # enter fullscreen mode for the focused container
  82. bindsym $alt+f fullscreen toggle
  83.  
  84. # change container layout (stacked, tabbed, toggle split)
  85. bindsym $alt+s layout stacking
  86. #bindsym $mod+w layout tabbed
  87. bindsym $mod+e layout toggle split
  88.  
  89. # toggle tiling / floating
  90. bindsym $mod+Shift+space floating toggle
  91.  
  92. # change focus between tiling / floating windows
  93. # bindsym $mod+space focus mode_toggle
  94.  
  95. # focus the parent container
  96. bindsym $mod+a focus parent
  97.  
  98. # focus the child container
  99. #bindsym $mod+d focus child
  100.  
  101. # switch to workspace
  102. bindsym $alt+1 workspace 1
  103. bindsym $alt+2 workspace 2
  104. bindsym $alt+3 workspace 3
  105. bindsym $alt+4 workspace 4
  106. bindsym $alt+5 workspace 5
  107. bindsym $alt+6 workspace 6
  108. bindsym $alt+7 workspace 7
  109. bindsym $alt+8 workspace 8
  110. bindsym $alt+9 workspace 9
  111. bindsym $alt+0 workspace 10
  112.  
  113. # move focused container to workspace
  114. bindsym $mod+1 move container to workspace 1
  115. bindsym $mod+2 move container to workspace 2
  116. bindsym $mod+3 move container to workspace 3
  117. bindsym $mod+4 move container to workspace 4
  118. bindsym $mod+5 move container to workspace 5
  119. bindsym $mod+6 move container to workspace 6
  120. bindsym $mod+7 move container to workspace 7
  121. bindsym $mod+8 move container to workspace 8
  122. bindsym $mod+9 move container to workspace 9
  123. bindsym $mod+0 move container to workspace 10
  124.  
  125. # reload the configuration file
  126. bindsym $mod+Shift+c reload
  127. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  128. bindsym $mod+Shift+r restart
  129. # exit i3 (logs you out of your X session)
  130. 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'"
  131.  
  132. # resize window (you can also use the mouse for that)
  133. mode "resize" {
  134. # These bindings trigger as soon as you enter the resize mode
  135.  
  136. # Pressing left will shrink the window’s width.
  137. # Pressing right will grow the window’s width.
  138. # Pressing up will shrink the window’s height.
  139. # Pressing down will grow the window’s height.
  140. bindsym h resize shrink width 10 px or 10 ppt
  141. bindsym k resize grow height 10 px or 10 ppt
  142. bindsym j resize shrink height 10 px or 10 ppt
  143. bindsym l resize grow width 10 px or 10 ppt
  144.  
  145. # same bindings, but for the arrow keys
  146. bindsym Left resize shrink width 10 px or 10 ppt
  147. bindsym Down resize grow height 10 px or 10 ppt
  148. bindsym Up resize shrink height 10 px or 10 ppt
  149. bindsym Right resize grow width 10 px or 10 ppt
  150.  
  151. # back to normal: Enter or Escape
  152. bindsym Return mode "default"
  153. bindsym Escape mode "default"
  154. }
  155.  
  156.  
  157.  
  158. bindsym $mod+r mode "resize"
  159.  
  160. # Start i3bar to display a workspace bar (plus the system information i3status
  161. # finds out, if available)
  162. bar {
  163. status_command i3status
  164. position top
  165. }
  166.  
  167.  
  168.  
  169. #####################################
  170. # Own Config Commands #
  171. #####################################
  172.  
  173. for_window [class="^.*"] border pixel 0
  174.  
  175. focus_follows_mouse no
  176.  
  177. #new_window 1pixel
  178. #default_border pixel 0
  179.  
  180. set_from_resource $bg i3wm.color3 #ADADBF
  181. set_from_resource $bg-alt i3wm.color0 #ADADBF
  182. set_from_resource $fg i3wm.color15 #FFFFFF
  183. set_from_resource $fg-alt i3wm.color2 #000000
  184. set_from_resource $hl i3wm.color4 #B24D7A
  185.  
  186. # class border backgr. text indicator child_border
  187. client.focused $bg-alt $bg-alt $fg-alt $bg-alt
  188. $bg-alt
  189. client.focused_inactive $bg-alt $bg-alt $fg-alt $bg-alt $bg-alt
  190. client.unfocused $bg-alt $bg-alt $fg-alt $bg-alt $bg-alt
  191. client.urgent $bg $bg-alt $fg-alt $bg $bg
  192. client.placeholder $bg $bg-alt $fg-alt $bg $bg
  193.  
  194.  
  195. gaps inner 32
  196.  
  197. exec feh --bg-scale Pictures/Wallpapers/88o0nll1xfcz.jpg
  198.  
  199. #exec nitrogen --restore
  200.  
  201. exec --no-startup-id synclient VertEdgeScroll=1 TapButton1=1 TapButton2=1 TapButton3=1 VertScroll=-79
  202.  
  203. exec compton
  204.  
  205. #exec polybar fortune
  206.  
  207. exec x11vnc -nap -wait 50 -noxdamage -passwd PASSWORD -display :0 -forever -o /var/log/x11vnc.log -bg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement