My personal dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config 7.3KB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. # Disable window borders
  2. for_window [class="^.*"] border pixel 2
  3. hide_edge_borders smart
  4. # Base 16 Config
  5. set $base00 #181818
  6. set $base01 #282828
  7. set $base02 #383838
  8. set $base03 #585858
  9. set $base04 #b8b8b8
  10. set $base05 #d8d8d8
  11. set $base06 #e8e8e8
  12. set $base07 #f8f8f8
  13. set $base08 #ab4642
  14. set $base09 #dc9656
  15. set $base0A #f7ca88
  16. set $base0B #a1b56c
  17. set $base0C #86c1b9
  18. set $base0D #7cafc2
  19. set $base0E #ba8baf
  20. set $base0F #a16946
  21. client.focused $base0D $base0D $base00 $base01
  22. client.focused_inactive $base02 $base02 $base03 $base01
  23. client.unfocused $base01 $base01 $base03 $base01
  24. client.urgent $base02 $base08 $base07 $base08
  25. # Matrix Labritory
  26. for_window [title="^Figure \d+$"] floating enable
  27. for_window [title="^QEMU$"] floating enable
  28. # Adds gaps
  29. #gaps inner 12
  30. #gaps outer 0
  31. #smart_gaps on
  32. # volume keys
  33. bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 2%+
  34. bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 2%-
  35. bindsym XF86AudioMute exec amixer set Master toggle
  36. bindsym --release Print exec "scrot -q 100 -s ~/temp.png && xclip -selection clipboard -t image/png -i ~/temp.png"
  37. # brightness keys
  38. bindsym XF86MonBrightnessUp exec xbacklight -inc 2
  39. bindsym XF86MonBrightnessDown exec xbacklight -dec 2
  40. bindsym XF86KbdBrightnessUp exec "asus-kbd-backlight up"
  41. bindsym XF86KbdBrightnessDown exec "asus-kbd-backlight down"
  42. set $mod Mod4
  43. # Font for window titles. Will also be used by the bar unless a different font
  44. # is used in the bar {} block below.
  45. font pango:monospace 8
  46. # This font is widely installed, provides lots of unicode glyphs, right-to-left
  47. # text rendering and scalability on retina/hidpi displays (thanks to pango).
  48. #font pango:DejaVu Sans Mono 8
  49. # Before i3 v4.8, we used to recommend this one as the default:
  50. # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  51. # The font above is very space-efficient, that is, it looks good, sharp and
  52. # clear in small sizes. However, its unicode glyph coverage is limited, the old
  53. # X core fonts rendering does not support right-to-left and this being a bitmap
  54. # font, it doesn’t scale on retina/hidpi displays.
  55. # Use Mouse+$mod to drag floating windows to their wanted position
  56. floating_modifier $mod
  57. # start a terminal
  58. bindsym $mod+Return exec urxvt
  59. bindsym $mod+backslash exec emacsclient -c
  60. bindsym $mod+Shift+backslash exec emacs -light
  61. # kill focused window
  62. bindsym $mod+Shift+q kill
  63. # start dmenu (a program launcher)
  64. bindsym $mod+space exec rofi -show drun
  65. bindsym $mod+d exec rofi-pass
  66. bindsym $mod+Shift+d exec "rofi-pass --insert"
  67. bindsym $mod+c exec firefox-developer-edition
  68. bindsym $mod+n exec "~/bin/lock.sh"
  69. # change focus
  70. bindsym $mod+h focus left
  71. bindsym $mod+j focus down
  72. bindsym $mod+k focus up
  73. bindsym $mod+l focus right
  74. # move focused window
  75. bindsym $mod+Shift+h move left
  76. bindsym $mod+Shift+j move down
  77. bindsym $mod+Shift+k move up
  78. bindsym $mod+Shift+l move right
  79. # split in horizontal orientation
  80. bindsym $mod+g split h
  81. # split in vertical orientation
  82. bindsym $mod+v split v
  83. # enter fullscreen mode for the focused container
  84. bindsym $mod+f fullscreen toggle
  85. # change container layout (stacked, tabbed, toggle split)
  86. bindsym $mod+s layout stacking
  87. bindsym $mod+t layout tabbed
  88. bindsym $mod+e layout toggle split
  89. # toggle tiling / floating
  90. bindsym $mod+Shift+space floating toggle
  91. # change focus between tiling / floating windows
  92. bindsym Mod1+space focus mode_toggle
  93. # switch to workspace
  94. #bindsym Mod1+Shift+ampersand workspace 1
  95. #bindsym Mod1+braceleft workspace 2
  96. #bindsym Mod1+Shift+bracketleft workspace 3
  97. #bindsym Mod1+Shift+braceright workspace 4
  98. #bindsym Mod1+Shift+parenleft workspace 5
  99. #bindsym Mod1+equal workspace 6
  100. #bindsym Mod1+Shift+asterisk workspace 7
  101. #bindsym Mod1+Shift+parenright workspace 8
  102. #bindsym Mod1+Shift+plus workspace 9
  103. #bindsym Mod1+bracketright workspace 10
  104. #
  105. #bindsym $mod+Shift+ampersand move container to workspace 1
  106. #bindsym $mod+braceleft move container to workspace 2
  107. #bindsym $mod+Shift+bracketleft move container to workspace 3
  108. #bindsym $mod+Shift+braceright move container to workspace 4
  109. #bindsym $mod+Shift+parenleft move container to workspace 5
  110. #bindsym $mod+equal move container to workspace 6
  111. #bindsym $mod+Shift+asterisk move container to workspace 7
  112. #bindsym $mod+Shift+parenright move container to workspace 8
  113. #bindsym $mod+Shift+plus move container to workspace 9
  114. #bindsym $mod+bracketright move container to workspace 10
  115. bindsym $mod+percent workspace 1
  116. bindsym $mod+bracketleft workspace 2
  117. bindsym $mod+braceleft workspace 3
  118. bindsym $mod+braceright workspace 4
  119. bindsym $mod+parenleft workspace 5
  120. bindsym $mod+equal workspace 6
  121. bindsym $mod+asterisk workspace 7
  122. bindsym $mod+parenright workspace 8
  123. bindsym $mod+plus workspace 9
  124. bindsym $mod+bracketright workspace 10
  125. bindsym $mod+Shift+percent move container to workspace 1
  126. bindsym $mod+Shift+bracketleft move container to workspace 2
  127. bindsym $mod+Shift+braceleft move container to workspace 3
  128. bindsym $mod+Shift+braceright move container to workspace 4
  129. bindsym $mod+Shift+parenleft move container to workspace 5
  130. bindsym $mod+Shift+equal move container to workspace 6
  131. bindsym $mod+Shift+asterisk move container to workspace 7
  132. bindsym $mod+Shift+parenright move container to workspace 8
  133. bindsym $mod+Shift+plus move container to workspace 9
  134. bindsym $mod+Shift+bracketright move container to workspace 10
  135. # reload the configuration file
  136. bindsym $mod+Shift+c reload
  137. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  138. bindsym $mod+Shift+r restart
  139. # exit i3 (logs you out of your X session)
  140. 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'"
  141. # resize window (you can also use the mouse for that)
  142. mode "resize" {
  143. # These bindings trigger as soon as you enter the resize mode
  144. # Pressing left will shrink the window’s width.
  145. # Pressing right will grow the window’s width.
  146. # Pressing up will shrink the window’s height.
  147. # Pressing down will grow the window’s height.
  148. bindsym h resize shrink width 5 px or 5 ppt
  149. bindsym j resize grow height 5 px or 5 ppt
  150. bindsym k resize shrink height 5 px or 5 ppt
  151. bindsym l resize grow width 5 px or 5 ppt
  152. # back to normal: Enter or Escape
  153. bindsym Return mode "default"
  154. bindsym Escape mode "default"
  155. }
  156. bindsym $mod+r mode "resize"
  157. #bar {
  158. # status_command i3status
  159. # position top
  160. # mode hide
  161. # hidden_state hide
  162. # modifier $mod
  163. # font pango:Inconsolata 12
  164. #
  165. # colors {
  166. # separator $base03
  167. # background $base01
  168. # statusline $base05
  169. # focused_workspace $base0C $base0D $base00
  170. # active_workspace $base02 $base02 $base07
  171. # inactive_workspace $base01 $base01 $base03
  172. # urgent_workspace $base08 $base08 $base07
  173. # }
  174. #}
  175. exec --no-startup-id dropbox start
  176. exec --no-startup-id nm-applet
  177. exec --no-startup-id ~/bin/battery_notify
  178. exec_always "xinput set-button-map 14 1 2 3 5 4 6 7 8 9 10 11 12"
  179. exec_always "setxkbmap -option compose:ralt"
  180. exec_always "xsetroot -cursor_name left_ptr"
  181. exec_always "~/bin/caps"
  182. exec_always "~/bin/key-rate"
  183. exec_always "~/bin/autohide"
  184. exec_always "~/bin/launch_polybar"
  185. exec_always feh --bg-scale --randomize ~/Pictures/wallpapers/*