lmariscal

i3

Feb 8th, 2017
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.12 KB | None | 0 0
  1. # Execs
  2. exec --no-startup-id /usr/bin/compton --config /home/cavariux/.compton.conf -f
  3. exec --no-startup-id feh --bg-fill /home/cavariux/Pictures/back.png
  4. exec --no-startup-id sh /home/cavariux/mouse.sh
  5. exec --no-startup-id xmodmap /home/cavariux/.Xmodmap
  6. exec --no-startup-id unclutter -idle 2 -grab
  7. # Sets and Font
  8. set $mod Mod1
  9. set $TERMINAL termite
  10. set $bg #78a090
  11. set $ubg #608073
  12. set $fg #f0f0f0
  13. font pango:Hack 9
  14. bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +2% #increase sound volume
  15. bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -2% #decrease sound volume
  16. bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
  17. bindsym Print exec scrot ~/Pictures/screenshots/%Y-%m-%d%H:%M:%S.png | notify-send Screenshot!
  18. bindsym $mod+Tab workspace back_and_forth
  19. workspace_auto_back_and_forth no<Paste>
  20. floating_modifier $mod
  21. bindsym $mod+Return exec termite
  22. bindsym $mod+q kill
  23. bindsym $mod+space exec sh ~/.i3/rofi.sh
  24. bindsym $mod+Shift+space floating toggle
  25. bindsym $mod+m bar mode toggle
  26. # Media player controls
  27. bindsym XF86AudioPlay exec playerctl play-pause
  28. bindsym XF86AudioNext exec playerctl next
  29. bindsym XF86AudioPrev exec playerctl previous
  30. # change focus
  31. bindsym $mod+h focus left
  32. bindsym $mod+j focus down
  33. bindsym $mod+k focus up
  34. bindsym $mod+l focus right
  35. # borders and stuff
  36. for_window [tiling] border pixel 0
  37. for_window [class=".*"] title_format " > %title"
  38. # class                 border  backgr. text indicator child_border
  39. client.focused          $bg     $bg     $fg  $bg       $bg
  40. client.focused_inactive $bg     $bg     $fg  $bg       $bg
  41. client.unfocused        $ubg    $ubg    $fg  $ubg      $ubg
  42. client.urgent           $bg     $bg     $fg  $bg       $bg
  43. client.placeholder      $bg     $bg     $fg  $bg       $bg
  44.  
  45. client.background       $bg
  46. # ---
  47. bindsym $mod+Shift+h move left
  48. mouse_warping none
  49. focus_follows_mouse no
  50. bindsym $mod+s floating toggle; [floating] border normal 0; [tiling] border pixel 0
  51. bindsym $mod+Shift+j move down
  52. bindsym $mod+Shift+k move up
  53. bindsym $mod+Shift+l move right
  54. bindsym $mod+p exec i3lock-fancy
  55. bindsym $mod+b split h
  56. bindsym $mod+v split v
  57. bindsym $mod+f fullscreen toggle
  58. bindsym $mod+w layout tabbed
  59. bindsym $mod+e layout toggle split
  60. bindsym $mod+a focus parent
  61. bindsym $mod+c move position center
  62. set $w1 "0:"
  63. set $w2 "1:"
  64. set $w3 "2:"
  65. set $w4 "3:"
  66. set $w5 "4:V"
  67. set $w6 "5:VI"
  68. set $w7 "6:"
  69. set $w8 "7:"
  70. set $w9 "8:IX"
  71. set $w0 "9:X"
  72. bindsym $mod+1 workspace $w1
  73. bindsym $mod+2 workspace $w2
  74. bindsym $mod+3 workspace $w3
  75. bindsym $mod+4 workspace $w4
  76. bindsym $mod+5 workspace $w5
  77. bindsym $mod+6 workspace $w6
  78. bindsym $mod+7 workspace $w7
  79. bindsym $mod+8 workspace $w8
  80. bindsym $mod+9 workspace $w9
  81. bindsym $mod+0 workspace $w0
  82. assign [class="Vivaldi-stable"] $w2
  83. assign [class="Spotify"] $w4
  84. bindsym $mod+Shift+1 move container to workspace $w1
  85. bindsym $mod+Shift+2 move container to workspace $w2
  86. bindsym $mod+Shift+3 move container to workspace $w3
  87. bindsym $mod+Shift+4 move container to workspace $w4
  88. bindsym $mod+Shift+5 move container to workspace $w5
  89. bindsym $mod+Shift+6 move container to workspace $w6
  90. bindsym $mod+Shift+7 move container to workspace $w7
  91. bindsym $mod+Shift+8 move container to workspace $w8
  92. bindsym $mod+Shift+9 move container to workspace $w9
  93. bindsym $mod+Shift+0 move container to workspace $w0
  94. bindsym $mod+Shift+c reload
  95. bindsym $mod+Shift+r restart
  96. 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'"
  97. mode "resize" {
  98.   bindsym k resize grow height 10 px or 10 ppt
  99.   bindsym j resize shrink height 10 px or 10 ppt
  100.   bindsym h resize shrink width 10 px or 10 ppt
  101.   bindsym l resize grow width 10 px or 10 ppt
  102.   bindsym Return mode "default"
  103.   bindsym Escape mode "default"
  104. }
  105. bindsym $mod+r mode "resize"
  106. bar {
  107.   font pango:Hack 10
  108.   position top
  109.   i3bar_command ~/.i3/polybar.sh
  110.   colors{
  111.     background #232323
  112.     statusline #DCDCDC
  113.   }
  114. }
  115. # i3-gaps
  116. gaps inner 5
  117. gaps outer 0
  118. smart_gaps on
Advertisement
Add Comment
Please, Sign In to add comment