SHARE
TWEET

Untitled

a guest Nov 16th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 Mod1
  13.  
  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.  
  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 -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  21. font pango:DejaVu Sans Mono 17
  22.  
  23. # Before i3 v4.8, we used to recommend this one as the default:
  24. # The font above is very space-efficient, that is, it looks good, sharp and
  25. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  26. # X core fonts rendering does not support right-to-left and this being a bitmap
  27. # font, it doesn’t scale on retina/hidpi displays.
  28.  
  29. # Use Mouse+$mod to drag floating windows to their wanted position
  30. floating_modifier $mod
  31.  
  32. # start a terminal
  33. bindsym $mod+Return exec terminator
  34.  
  35. # kill focused window
  36. bindsym $mod+Shift+q kill
  37.  
  38. # start dmenu (a program launcher)
  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+semicolon focus right
  49.  
  50. # alternatively, you can use the cursor keys:
  51. bindsym $mod+Alt_R focus left
  52. bindsym $mod+Super_R focus down
  53. bindsym $mod+Print focus up
  54.  
  55.  
  56. # start dmenu (a program launcher)
  57. bindsym $mod+d exec rofi -show combi -window -theme Adapta-Nokto
  58.  
  59. # start rofi (window mode)
  60. bindsym $mod+z exec rofi -show window
  61.  
  62. # change focus
  63.  
  64. # alternatively, you can use the cursor keys:
  65. bindsym $mod+Left focus left
  66. bindsym $mod+Down focus down
  67. bindsym $mod+Up focus up
  68. bindsym $mod+Right focus right
  69.  
  70. # move focused window
  71. bindsym $mod+Shift+j move left
  72. bindsym $mod+Shift+k move down
  73. bindsym $mod+Shift+l move up
  74. bindsym $mod+Shift+odiaeresis move right
  75.  
  76. # alternatively, you can use the cursor keys:
  77. bindsym $mod+Shift+Left move left
  78. bindsym $mod+Shift+Down move down
  79. bindsym $mod+Shift+Up move up
  80. bindsym $mod+Shift+Right move right
  81.  
  82. # split in horizontal orientation
  83. bindsym $mod+h split h
  84.  
  85. # split in vertical orientation
  86. bindsym $mod+v split v
  87.  
  88. # enter fullscreen mode for the focused container
  89. bindsym $mod+f fullscreen toggle
  90. # global fullscreen: across all monitors
  91. bindsym $mod+shift+f        fullscreen toggle global
  92.  
  93. # change container layout (stacked, tabbed, toggle split)
  94. bindsym $mod+s layout stacking
  95. bindsym $mod+w layout tabbed
  96. bindsym $mod+e layout toggle split
  97.  
  98. hide_edge_borders vertical
  99.  
  100. bindsym $mod+x layout toggle splitv tabbed
  101. # toggle tiling / floating
  102. bindsym $mod+Shift+space floating toggle
  103.  
  104. # change focus between tiling / floating windows
  105. bindsym $mod+space focus mode_toggle
  106.  
  107. # focus the parent container
  108. bindsym $mod+a focus parent
  109.  
  110. # focus the child container
  111. #bindsym $mod+d focus child
  112.  
  113. set $workspace1 "1"
  114. set $workspace2 "2"
  115. set $workspace3 "3"
  116. set $workspace4 "4"
  117. set $workspace5 "5"
  118. set $workspace6 "6"
  119. set $workspace7 "7"
  120. set $workspace8 "8"
  121. set $workspace9 "9"
  122. set $workspace10 "10"
  123.  
  124. # switch to workspace
  125. bindsym $mod+1 workspace $workspace1
  126. bindsym $mod+2 workspace $workspace2
  127. bindsym $mod+3 workspace $workspace3
  128. bindsym $mod+4 workspace $workspace4
  129. bindsym $mod+5 workspace $workspace5
  130. bindsym $mod+6 workspace $workspace6
  131. bindsym $mod+7 workspace $workspace7
  132. bindsym $mod+8 workspace $workspace8
  133. bindsym $mod+9 workspace $workspace9
  134. bindsym $mod+0 workspace $workspace10
  135.  
  136. # move focused container to workspace
  137. bindsym $mod+Shift+1 move container to workspace $workspace1
  138. bindsym $mod+Shift+2 move container to workspace $workspace2
  139. bindsym $mod+Shift+3 move container to workspace $workspace3
  140. bindsym $mod+Shift+4 move container to workspace $workspace4
  141. bindsym $mod+Shift+5 move container to workspace $workspace5
  142. bindsym $mod+Shift+6 move container to workspace $workspace6
  143. bindsym $mod+Shift+7 move container to workspace $workspace7
  144. bindsym $mod+Shift+8 move container to workspace $workspace8
  145. bindsym $mod+Shift+9 move container to workspace $workspace9
  146. bindsym $mod+Shift+0 move container to workspace $workspace10
  147.  
  148.  
  149. # reload the configuration file
  150. bindsym $mod+Shift+c reload
  151. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  152. bindsym $mod+Shift+r restart
  153. # exit i3 (logs you out of your X session)
  154. #bindsym $mod+Shift+e exec ./config/i3/scripts/i3-exit
  155. 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'"
  156.  
  157. # resize window (you can also use the mouse for that)
  158. mode "resize" {
  159.         # These bindings trigger as soon as you enter the resize mode
  160.  
  161.         # Pressing left will shrink the window’s width.
  162.         # Pressing right will grow the window’s width.
  163.         # Pressing up will shrink the window’s height.
  164.         # Pressing down will grow the window’s height.
  165.         bindsym j resize shrink width 10 px or 10 ppt
  166.         bindsym k resize grow height 10 px or 10 ppt
  167.         bindsym l resize shrink height 10 px or 10 ppt
  168.         bindsym odiaeresis resize grow width 10 px or 10 ppt
  169.  
  170.         # same bindings, but for the arrow keys
  171.         bindsym Left resize shrink width 10 px or 10 ppt
  172.         bindsym Down resize grow height 10 px or 10 ppt
  173.         bindsym Up resize shrink height 10 px or 10 ppt
  174.         bindsym Right resize grow width 10 px or 10 ppt
  175.  
  176.         # back to normal: Enter or Escape
  177.         bindsym Return mode "default"
  178.         bindsym Escape mode "default"
  179. }
  180.  
  181. bindsym $mod+r mode "resize"
  182.  
  183.  
  184. #default_border normal
  185. #default_floating_border normal
  186.  
  187. # Manually set colors
  188. # define colors used
  189. set $bg-color            #2f343f
  190. set $inactive-bg-color   #2f343f
  191. set $text-color          #f3f4f5
  192. set $inactive-text-color #676E7D
  193. set $urgent-bg-color     #5294e2
  194.  
  195. #client.focused #6c71c4 #6c71c4 #fdf6e3 #6c71c4
  196. #client.focused_inactive #073642 #073642 #eee8d5 #6c71c4
  197. #client.unfocused #073642 #073642 #93a1a1 #586e75
  198. #client.urgent #d33682 #d33682 #fdf6e3 #dc322f
  199.  
  200. #client.focused          #676E7D #676E7D #FFFFFF #676E7D
  201. #client.focused_inactive #2f343f #2f343f #FFFFFF #2f343f
  202. #client.unfocused        #2f343f #2f343f #FFFFFF #2f343f
  203. #client.urgent           #2f343f #2f343f #ffffff #2f343f
  204. #client.placeholder      #2f343f #2f343f #ffffff #2f343f
  205.  
  206. # i3 gaps
  207. for_window [class="^.*"] border pixel 1
  208. #gaps inner 12
  209. #gaps outer 10
  210. #smart_gaps on
  211.  
  212.  
  213. #smart_borders on
  214.  
  215. # Set colors from Xresources
  216. # Change 'color7' and 'color2' to whatever colors you want i3 to use
  217. # from the generated scheme.
  218. # NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
  219. # it fails to get colors from Xresources.
  220. set_from_resource $fg i3wm.color7 #f0f0f0
  221. set_from_resource $bg i3wm.color2 #f0f0f0
  222.  
  223. ## class                 border  backgr. text indicator child_border
  224. #client.focused          $fg     $fg     $fg  $fg       $fg
  225. #client.focused_inactive $bg     $bg     $fg  $bg       $bg
  226. #client.unfocused        $bg     $bg     $fg  $bg       $bg
  227. #client.urgent           $bg     $bg     $fg  $bg       $bg
  228. #client.placeholder      $bg     $bg     $fg  $bg       $bg
  229. #
  230. #client.background       $bg
  231. bar {
  232. #    font xft:ProFont for Powerline, FontAwesome 14
  233.     font pango:DejaVu Sans Mono, FontAwesome 16
  234.     position bottom
  235. status_command py3status -c ~/.i3status.conf
  236.     colors {
  237. #            background $darkblack
  238.             statusline #ffffff
  239.             separator $black
  240.    #         focused_workspace  $darkblue $darkblue $darkblack
  241.     #        active_workspace   $blue $blue $darkwhite
  242.      #       inactive_workspace $darkblack $darkblack $white
  243.       #      urgent_workspace $darkblack $darkblack $white
  244.     }
  245. }
  246. # PROTIP: You can also dynamically set dmenu's colors this way:
  247. #bindsym $mod+d exec dmenu_run -nb "$fg" -nf "$bg" -sb "$bg" -sf "$fg"
  248. #exec --no-startup-id exec hsetroot -solid black
  249.  
  250. #exec --no-startup-id exec compton --paint-on-overlay
  251.  
  252. exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg
  253. exec_always --no-startup-id "killall -q compton; compton"
  254. exec --no-startup-id terminator
  255. exec --no-startup-id terminator
  256. exec /usr/bin/vmware-user
  257. #exec_always --no-startup-id exec xrdb -load ~/.Xresources
  258. #exec_always --no-startup-id ~/.config/polybar/launch.sh
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top