endfunction
autocmd FileType make setlocal noexpandtab
- autocmd Filetype python setlocal tabstop=4 softtabstop=4 shiftwidth=4
+ autocmd FileType python setlocal tabstop=4 softtabstop=4 shiftwidth=4
-au BufNewFile,BufRead *.js set filetype=javascript
-au BufNewFile,BufRead *.json set filetype=javascript
+au BufNewFile,BufRead *.js,*.json set filetype=javascript
au BufNewFile,BufRead *.ts set filetype=typescript
au BufNewFile,BufRead Podfile,*.podspec set filetype=ruby
au BufNewFile,BufRead /usr/local/nginx/conf/* set filetype=nginx
}
bindsym $mod+r mode "resize"
-
- # Move current workspace to next output
-bindsym $mod+x move workspace to output primary
+bindsym $mod+x move workspace to output next
# Screenshot, bound to PRINT SCREEN
bindsym 0xff61 exec screenshot.sh
for_window [class="Rhythmbox"] floating enable, border normal
bindsym --release $mod+Pause exec --no-startup-id slock
+bindsym --release $mod+Escape exec --no-startup-id slock
# Theming, ala Gruvbox
- font pango:Exo 2.0 10
+ font pango:Exo 2 8
set $gruv_bg #282828
set $gruv_bg1 #3c3836