Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.33 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 Mod4
  13.  
  14. # Font for window titles. Will also be used by the bar unless a different font
  15. # is used in the bar {} block below.
  16. font pango:monospace 8
  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 pango:DejaVu Sans Mono 8
  21.  
  22. # Before i3 v4.8, we used to recommend this one as the default:
  23. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  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+t exec terminator
  34.  
  35. # kill focused window
  36. bindsym $mod+Shift+q kill
  37.  
  38. # start dmenu (a program launcher)
  39. bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 800 -opacity "50" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd"
  40. # There also is the (new) i3-dmenu-desktop which only displays application
  41. bindsym $mod+j focus left
  42. bindsym $mod+k focus down
  43. bindsym $mod+l focus up
  44. bindsym $mod+semicolon focus right
  45.  
  46. # alternatively, you can use the cursor keys:
  47. bindsym $mod+Left focus left
  48. bindsym $mod+Down focus down
  49. bindsym $mod+Up focus up
  50. bindsym $mod+Right focus right # move focused window
  51. bindsym $mod+Shift+j move left
  52. bindsym $mod+Shift+k move down
  53. bindsym $mod+Shift+l move up
  54. bindsym $mod+Shift+semicolon move right
  55.  
  56. # alternatively, you can use the cursor keys:
  57. bindsym $mod+Shift+Left move left
  58. bindsym $mod+Shift+Down move down
  59. bindsym $mod+Shift+Up move up
  60. bindsym $mod+Shift+Right move right
  61.  
  62. # split in horizontal orientation
  63. bindsym $mod+h split h
  64.  
  65. # split in vertical orientation
  66. bindsym $mod+v split v
  67.  
  68. # enter fullscreen mode for the focused container
  69. bindsym $mod+f fullscreen toggle
  70.  
  71. # change container layout (stacked, tabbed, toggle split)
  72. bindsym $mod+s layout stacking
  73. bindsym $mod+w layout tabbed
  74. bindsym $mod+e layout toggle split
  75.  
  76. # toggle tiling / floating
  77. bindsym $mod+Shift+space floating toggle
  78.  
  79. # change focus between tiling / floating windows
  80. bindsym $mod+space focus mode_toggle
  81.  
  82. # focus the parent container
  83. bindsym $mod+a focus parent
  84.  
  85. # focus the child container
  86. #bindsym $mod+d focus child
  87.  
  88. # Define names for default workspaces for which we configure key bindings later on.
  89. # We use variables to avoid repeating the names in multiple places.
  90. set $ws1 "1"
  91. set $ws2 "2"
  92. set $ws3 "3"
  93. set $ws4 "4"
  94. set $ws5 "5"
  95. set $ws6 "6"
  96. set $ws7 "7"
  97. set $ws8 "8"
  98. set $ws9 "9"
  99. set $ws10 "10"
  100. # move focused container to workspace
  101. bindsym $mod+Shift+1 move container to workspace $ws1
  102. bindsym $mod+Shift+2 move container to workspace $ws2
  103. bindsym $mod+Shift+3 move container to workspace $ws3
  104. bindsym $mod+Shift+4 move container to workspace $ws4
  105. bindsym $mod+Shift+5 move container to workspace $ws5
  106. bindsym $mod+Shift+6 move container to workspace $ws6
  107. bindsym $mod+Shift+7 move container to workspace $ws7
  108. bindsym $mod+Shift+8 move container to workspace $ws8
  109. bindsym $mod+Shift+9 move container to workspace $ws9
  110. bindsym $mod+Shift+0 move container to workspace $ws10
  111.  
  112. # reload the configuration file
  113. bindsym $mod+Shift+c reload
  114. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  115. bindsym $mod+Shift+r restart
  116. # exit i3 (logs you out of your X session)
  117. 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'"
  118.  
  119. # resize window (you can also use the mouse for that)
  120. mode "resize" {
  121. # These bindings trigger as soon as you enter the resize mode
  122.  
  123. # Pressing left will shrink the window’s width.
  124. # Pressing right will grow the window’s width.
  125. # Pressing up will shrink the window’s height.
  126. # Pressing down will grow the window’s height.
  127. bindsym j resize shrink width 10 px or 10 ppt
  128. bindsym k resize grow height 10 px or 10 ppt
  129. bindsym l resize shrink height 10 px or 10 ppt
  130. bindsym semicolon resize grow width 10 px or 10 ppt
  131.  
  132. # same bindings, but for the arrow keys
  133. bindsym Left resize shrink width 10 px or 10 ppt
  134. bindsym Down resize grow height 10 px or 10 ppt
  135. bindsym Up resize shrink height 10 px or 10 ppt
  136. bindsym Right resize grow width 10 px or 10 ppt
  137.  
  138. # back to normal: Enter or Escape or $mod+r
  139. bindsym Return mode "default"
  140. bindsym Escape mode "default"
  141. bindsym $mod+r mode "default"
  142. }
  143.  
  144. bindsym $mod+r mode "resize"
  145.  
  146.  
  147.  
  148. set $bg-color #34d9cb
  149. set $inactive-bg-color #000000
  150. set $text-color #000000
  151.  
  152. # window colors
  153. # border background text indicator
  154. client.focused $bg-color $bg-color $text-color #00ff00
  155. client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
  156. client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
  157. client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
  158.  
  159. # Start i3bar to display a workspace bar (plus the system information i3status
  160. # finds out, if available)
  161. bar {
  162. status_command i3status
  163. }
  164.  
  165. exec spotify
  166. exec firefox
  167. exec discord
  168. exec feh --bg-scale /home/jack/Downloads/wallpaper.jpg
  169.  
  170. # Pulse Audio controls
  171. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
  172. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
  173. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  174.  
  175. # Sreen brightness controls
  176. bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
  177. bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
  178.  
  179. # Touchpad controls
  180. bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
  181.  
  182. # Media player controls
  183. bindsym XF86AudioPlay exec playerctl play
  184. bindsym XF86AudioPause exec playerctl pause
  185. bindsym XF86AudioNext exec playerctl next
  186. bindsym XF86AudioPrev exec playerctl previous
  187. ~
  188. ~
  189. ~
  190. ~
  191. ~
  192. ~
  193. ~
  194. ~
  195. ~
  196. ~
  197. ~
  198. ~
  199. ~
  200. ~
  201. ~
  202. ~
  203. 174,50 Bot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement