my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Moar DO confs

j3s 887f0966 b06fc925

+70 -10
+19 -1
.config/nvim/init.vim
··· 8 8 require'lspconfig'.gopls.setup{} 9 9 EOF 10 10 11 - " set keybinds for go LSP 11 + " set keybinds for go LSP - warning: disgusting 12 12 lua << EOF 13 13 local nvim_lsp = require('lspconfig') 14 14 ··· 53 53 end 54 54 EOF 55 55 56 + 57 + " tabstops for my langs 58 + autocmd FileType sh setlocal et ts=4 sw=4 59 + autocmd FileType go setlocal noet ts=4 sw=4 60 + autocmd FileType python setlocal et ts=4 sw=4 61 + autocmd FileType ruby setlocal et ts=2 sw=2 62 + autocmd FileType text setlocal tw=80 63 + autocmd FileType html setlocal et ts=2 sw=2 64 + autocmd FileType yaml setlocal et ts=2 sw=2 65 + autocmd FileType mail setlocal noautoindent 66 + augroup filetypedetect 67 + autocmd BufRead,BufNewFile *mutt-* setfiletype mail 68 + augroup filetypedetect 69 + autocmd FileType markdown setlocal tw=80 et ts=2 sw=2 70 + 71 + " bindings 72 + let mapleader = "," 73 + nmap <leader>m Go<esc>:put =strftime(\"%Y-%m-%d\")<cr>o----------------<cr><esc>
+2
.config/sway/config
··· 191 191 for_window [class="Steam"] floating enable 192 192 for_window [class="Mumble"] floating enable 193 193 for_window [class="Dino"] floating enable 194 + for_window [title="Firefox — Sharing Indicator"] floating enable 195 + for_window [title="Firefox — Sharing Indicator"] kill 194 196 # for_window [class="Dota 2"] floating enable, border none 195 197 # 196 198 # Scratchpad:
+3
.config/sway/zora
··· 11 11 12 12 for_window [class="Firefox"] inhibit_idle fullscreen 13 13 for_window [class="Chromium"] inhibit_idle fullscreen 14 + 15 + # Laptop outputs are managed automatically using kanshi 16 + exec_always pkill kanshi; exec kanshi
+40
bin/chtf
··· 1 + #!/bin/sh 2 + # 3 + # list installed tf versions + 4 + # switch terraform versions + 5 + # + download tf if not found 6 + 7 + tf_version="$1" 8 + tf_install_dir="${HOME}/.local/share/chtf" 9 + tf_link_name="${HOME}/bin/terraform" 10 + 11 + # make some os assumptions 12 + if [ $(uname) == "Linux" ]; then 13 + os="linux" 14 + else 15 + os="Darwin" 16 + fi 17 + 18 + mkdir -p "$tf_install_dir" 19 + 20 + if [ -z "$tf_version" ]; then 21 + # if no arguments, list versions of tf plus list symlink pointer. 22 + printf "available:\n" 23 + ls "$tf_install_dir" 24 + printf "active:\n" 25 + if [ -e "$tf_link_name" ]; then 26 + readlink "$tf_link_name" | xargs basename 27 + fi 28 + else 29 + if [ ! -f "${tf_install_dir}/${tf_version}" ]; then 30 + # download tf version if not found 31 + printf "terraform version not found. downloading...\n" 32 + dl="https://releases.hashicorp.com/terraform/${tf_version}/terraform_${tf_version}_${os}_amd64.zip" 33 + printf "downloading ${dl}\n" 34 + curl -L --output /tmp/tf.zip "$dl" 35 + unzip /tmp/tf.zip -d /tmp 36 + mv /tmp/terraform "${tf_install_dir}/${tf_version}" 37 + rm /tmp/tf.zip 38 + fi 39 + ln -sf "${tf_install_dir}/${tf_version}" "$tf_link_name" 40 + fi
+6 -9
bin/xdg-open
··· 1 1 #!/bin/sh 2 2 case "${1%%:*}" in 3 - http|https) 4 - exec chromium "$1" 5 - ;; 3 + http|https) 4 + exec firefox "$1" 5 + ;; 6 6 *.pdf) 7 7 exec zathura "$1" 8 8 ;; 9 - mailto) 10 - exec aerc "$1" 11 - ;; 12 - *) 13 - exec /usr/bin/xdg-open "$@" 14 - ;; 9 + *) 10 + exec /usr/bin/xdg-open "$@" 11 + ;; 15 12 esac