tvim: get rid of nvim; mykblayouts: get rid of ducky layouts; compton_toggle: disable fade effects

This commit is contained in:
Von Random 2019-04-08 18:36:00 +03:00
parent 6c3e745835
commit 8d27b64fdb
3 changed files with 5 additions and 12 deletions

3
tvim
View file

@ -1,7 +1,6 @@
#!/usr/bin/env bash
typeset -a vimopt=(
'--cmd' 'let g:tvim = 1'
'-c' 'set mouse=a'
)
error() {
@ -10,6 +9,6 @@ error() {
}
termbin=$(command -v default-terminal-emulator) || termbin=$(command -v xterm) || error "No terminal found!"
vimbin=$(command -v nvim) || vimbin=$(command -v vim) || error "No vim binary found!"
vimbin=$(command -v vim) || error "No vim binary found!"
exec "$termbin" -c tvim -e "$vimbin" "${vimopt[@]}" "$@" &>/dev/null & disown