Advertisement
Guest User

Untitled

a guest
Jan 25th, 2018
1,822
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.59 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 http://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. # Mod4 is meta
  13. # Mod1 is alt
  14. set $mod Mod4
  15.  
  16. # Font for window titles. Will also be used by the bar unless a different font
  17. # is used in the bar {} block below.
  18. font pango:ubuntu 8
  19.  
  20. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  21. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  22. #font pango:DejaVu Sans Mono 8
  23.  
  24. # Before i3 v4.8, we used to recommend this one as the default:
  25. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  26. # The font above is very space-efficient, that is, it looks good, sharp and
  27. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  28. # X core fonts rendering does not support right-to-left and this being a bitmap
  29. # font, it doesn’t scale on retina/hidpi displays.
  30.  
  31. # Use Mouse+$mod to drag floating windows to their wanted position
  32. floating_modifier $mod
  33.  
  34. exec --no-startup-id ~/.bin/scripts/color-correction.sh
  35.  
  36. # colors
  37.  
  38. set $gray #424242
  39. set $black #212121
  40. set $darkblack #000000
  41. set $red #fb4934
  42. set $darkred #cc241d
  43. set $green #b8bb26
  44. set $darkgreen #98971a
  45. set $yellow #fabd2f
  46. set $darkyellow #d79921
  47. set $blue #83a598
  48. set $darkblue #458588
  49. set $magenta #d3869b
  50. set $darkmagenta #b16286
  51. set $cyan #8ec07c
  52. set $darkcyan #689d6aba
  53. set $white #ebdbb2
  54. set $darkwhite #a89984
  55. set $background #000000
  56. set $transparent #0000000a
  57.  
  58. #set $black #000000
  59. #set $white #FFFFFF
  60. #set $gray #555555
  61. #set $darkgray #343434
  62. #set $green #799F26
  63. #set $blue #4D73AA
  64. #set $purple #8473A7
  65. #set $red #B50900
  66. #set $orange #E57807
  67. #set $cyan #2AA198
  68. #set $dark #1A1B26
  69.  
  70. # start a terminal
  71. bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
  72.  
  73. # kill focused window
  74. bindsym $mod+Shift+q kill
  75.  
  76. # start dmenu (a program launcher)
  77. # bindsym $mod+d exec dmenu_run -i -p 'Gentoo' -fn 'Ubuntu Mono:pixelsize=15'
  78. bindsym $mod+d exec rofi -modi drun -show drun -padding 308 -width 100 -lines 10 -font "Ubuntu Mono 14"
  79. # There also is the (new) i3-dmenu-desktop which only displays applications
  80. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  81. # installed.
  82. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  83.  
  84. # change focus
  85. bindsym $mod+h focus left
  86. bindsym $mod+j focus down
  87. bindsym $mod+k focus up
  88. bindsym $mod+l focus right
  89.  
  90. # alternatively, you can use the cursor keys:
  91. bindsym $mod+Left focus left
  92. bindsym $mod+Down focus down
  93. bindsym $mod+Up focus up
  94. bindsym $mod+Right focus right
  95.  
  96. # move focused window
  97. bindsym $mod+Shift+h move left
  98. bindsym $mod+Shift+j move down
  99. bindsym $mod+Shift+k move up
  100. bindsym $mod+Shift+l move right
  101.  
  102. # alternatively, you can use the cursor keys:
  103. bindsym $mod+Shift+Left move left
  104. bindsym $mod+Shift+Down move down
  105. bindsym $mod+Shift+Up move up
  106. bindsym $mod+Shift+Right move right
  107.  
  108. # split in horizontal orientation
  109. bindsym $mod+g split h
  110.  
  111. # split in vertical orientation
  112. bindsym $mod+v split v
  113.  
  114. # enter fullscreen mode for the focused container
  115. bindsym $mod+f fullscreen toggle
  116.  
  117. # change container layout (stacked, tabbed, toggle split)
  118. bindsym $mod+s layout stacking
  119. bindsym $mod+w layout tabbed
  120. bindsym $mod+e layout toggle split
  121.  
  122. # toggle tiling / floating
  123. bindsym $mod+Shift+space floating toggle
  124.  
  125. # change focus between tiling / floating windows
  126. bindsym $mod+space focus mode_toggle
  127.  
  128. # focus the parent container
  129. bindsym $mod+a focus parent
  130.  
  131. #class border backgrd text indicator
  132. client.focused $black $black $white $gray
  133. client.unfocused $darkblack $darkblack $darkwhite $darkwhite
  134. client.focused_inactive $transparent $transparent $black $black
  135. client.urgent $red $red $black $black
  136. client.background $black
  137.  
  138. # focus the child container
  139. #bindsym $mod+d focus child
  140.  
  141. # workspaces
  142. set $workspace1 1: 
  143. set $workspace2 2: 
  144. set $workspace3 3: 
  145. set $workspace4 4: 
  146. set $workspace5 5: 
  147. set $workspace6 6: 
  148. set $workspace7 7: 
  149. set $workspace8 8: 
  150. set $workspace9 9: 
  151. set $workspace10 10: 
  152.  
  153. #set $workspace1 1
  154. #set $workspace2 2
  155. #set $workspace3 3
  156. #set $workspace4 4
  157. #set $workspace5 5
  158. #set $workspace6 6
  159. #set $workspace7 7
  160. #set $workspace8 8
  161. #set $workspace9 9
  162. #set $workspace10 10
  163.  
  164. # switch to workspace
  165. bindsym $mod+1 workspace $workspace1
  166. bindsym $mod+2 workspace $workspace2
  167. bindsym $mod+3 workspace $workspace3
  168. bindsym $mod+4 workspace $workspace4
  169. bindsym $mod+5 workspace $workspace5
  170. bindsym $mod+6 workspace $workspace6
  171. bindsym $mod+7 workspace $workspace7
  172. bindsym $mod+8 workspace $workspace8
  173. bindsym $mod+9 workspace $workspace9
  174. bindsym $mod+0 workspace $workspace10
  175.  
  176. assign [class="qutebrowser"] $workspace2
  177. assign [class="Vivaldi-stable"] $workspace2
  178. assign [class="Surf"] $workspace2
  179.  
  180. for_window [instance="dropdown"] floating enable
  181. for_window [instance="dropdown"] resize set 625 400
  182. for_window [instance="dropdown"] move position center
  183. for_window [instance="dropdown"] move scratchpad
  184. exec --no-startup-id st -name dropdown
  185.  
  186. bindsym Control+grave [instance="dropdown"] scratchpad show; move position center
  187. bindsym Control+Shift+grave exec --no-startup-id st -name dropdown
  188.  
  189.  
  190. # move focused container to workspace
  191. bindsym $mod+Shift+1 move container to workspace $workspace1
  192. bindsym $mod+Shift+2 move container to workspace $workspace2
  193. bindsym $mod+Shift+3 move container to workspace $workspace3
  194. bindsym $mod+Shift+4 move container to workspace $workspace4
  195. bindsym $mod+Shift+5 move container to workspace $workspace5
  196. bindsym $mod+Shift+6 move container to workspace $workspace6
  197. bindsym $mod+Shift+7 move container to workspace $workspace7
  198. bindsym $mod+Shift+8 move container to workspace $workspace8
  199. bindsym $mod+Shift+9 move container to workspace $workspace9
  200. bindsym $mod+Shift+0 move container to workspace $workspace10
  201.  
  202. # reload the configuration file
  203. bindsym $mod+Shift+c reload
  204. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  205. bindsym $mod+Shift+r restart
  206. # exit i3 (logs you out of your X session)
  207. #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'"
  208. #bindsym $mod+Shift+e exec [$(echo -e 'No\nYes' | dmenu -sb '#ff6600' -i -p "You pressed the exit shortcut. Do you really want to exit i3?") = "Quit"] && i3-msg exit
  209. bindsym $mod+Shift+e exec i3power logout
  210.  
  211. bindsym Control+Mod1+l exec i3power lock
  212.  
  213. # resize window (you can also use the mouse for that)
  214. mode "resize" {
  215. # These bindings trigger as soon as you enter the resize mode
  216.  
  217. # Pressing left will shrink the window’s width.
  218. # Pressing right will grow the window’s width.
  219. # Pressing up will shrink the window’s height.
  220. # Pressing down will grow the window’s height.
  221. bindsym h resize shrink width 10 px or 10 ppt
  222. bindsym j resize grow height 10 px or 10 ppt
  223. bindsym k resize shrink height 10 px or 10 ppt
  224. bindsym l resize grow width 10 px or 10 ppt
  225.  
  226. # same bindings, but for the arrow keys
  227. bindsym Left resize shrink width 10 px or 10 ppt
  228. bindsym Down resize grow height 10 px or 10 ppt
  229. bindsym Up resize shrink height 10 px or 10 ppt
  230. bindsym Right resize grow width 10 px or 10 ppt
  231.  
  232. # back to normal: Enter or Escape
  233. bindsym Return mode "default"
  234. bindsym Escape mode "default"
  235. }
  236.  
  237. bindsym $mod+r mode "resize"
  238.  
  239. mode "Application Launcher"
  240. {
  241. bindsym Shift+q exec QT_QPA_PLATFORMTHEME=KDE qupzilla; mode "default"
  242. bindsym q exec QT_QPA_PLATFORMTHEME=KDE qutebrowser; mode "default"
  243. bindsym d exec QT_QPA_PLATFORMTHEME=KDE dolphin; mode "default"
  244. bindsym v exec vivaldi; mode "default"
  245. bindsym s exec surf duckduckgo.com; mode "default"
  246. bindsym Shift+v exec VirtualBox; mode "default"
  247. bindsym e exec emacs; mode "default"
  248. bindsym k exec QT_QPA_PLATFORMTHEME=KDE kate; mode "default"
  249. bindsym Shift+k exec QT_QPA_PLATFORMTHEME=KDE konsole; mode "default"
  250. bindsym g exec google-play-music-desktop-player; mode "default"
  251. bindsym a exec QT_QPA_PLATFORMTHEME=KDE aqemu; mode "default"
  252. bindsym o exec QT_QPA_PLATFORMTHEME=KDE okular; mode "default"
  253.  
  254. bindsym Escape mode "default"
  255. bindsym Control+[ mode "default"
  256. }
  257. bindsym $mod+Shift+a mode "Application Launcher"
  258.  
  259. mode "Power Management"
  260. {
  261. bindsym p exec i3power shutdown; mode "default"
  262. bindsym r exec i3power reboot; mode "default"
  263. bindsym s exec i3power suspend; mode "default"
  264. bindsym h exec i3power hibernate; mode "default"
  265.  
  266. bindsym Escape mode "default"
  267. bindsym Control+[ mode "default"
  268. }
  269. bindsym $mod+Shift+p mode "Power Management"
  270.  
  271. # Volume Control
  272. bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
  273. bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
  274. bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
  275.  
  276. # Brightness Control
  277. bindsym XF86MonBrightnessDown exec xbacklight -dec 20
  278. bindsym XF86MonBrightnessUp exec xbacklight -inc 20
  279.  
  280. # Media Player Controls
  281. bindsym XF86AudioPlay exec playerctl play
  282. bindsym XF86AudioPause exec playerctl pause
  283. bindsym XF86AudioNext exec playerctl next
  284. bindsym XF86AudioPrevious exec playerctl previous
  285.  
  286. # Load color correction
  287.  
  288. # Start i3bar to display a workspace bar (plus the system information i3status
  289. # finds out, if available)
  290. bar {
  291. i3bar_command i3bar -t
  292. status_command i3status
  293. colors {
  294. statusline $white
  295. background $transparent
  296.  
  297. # Colors border backgr text
  298. focused_workspace $transparent $transparent $white
  299. active_workspace $transparent $transparent $darkwhite
  300. inactive_workspace $transparent $transparent $darkwhite
  301. urgent_workspace $red $red $transparent
  302. binding_mode $transparent $transparent $blue
  303. }
  304. position top
  305. }
  306.  
  307. exec surf duckduckgo.com
  308. exec --no-startup-id compton
  309. exec --no-startup-id i3-msg 'exec st; exec st'
  310. #exec --no-startup-id feh --bg-fill /usr/share/wallpapers/Next/contents/images/1366x768.png
  311. #exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  312. exec_always --no-startup-id $HOME/.local/bin/wal -c -i $HOME/.config/wall.png
  313. exec argyll-dispwin $HOME/.local/share/icc/1130\ \#1\ 2017-09-23\ 17-08\ 120cdm²\ D6500\ 2.2\ F-S\ XYZLUT+MTX.icc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement