dgy
/
hexagons
Archived
1
0
Fork 0

tmux 3.1 y una boludez

This commit is contained in:
deadguy 2020-04-29 14:44:55 -03:00
parent c2ab43806d
commit a98e539591
Signed by: dgy
GPG Key ID: 37CA55B52CF63730
9 changed files with 104 additions and 100 deletions

View File

@ -4,8 +4,8 @@
*.cursorColor: #b3b1ad
! black
*.color0: #0a0e14
*.color8: #222222
*.color0: #0e0e0e
*.color8: #555555
! red
*.color1: #ff3333

View File

@ -49,25 +49,25 @@ colors:
# Normal colors
normal:
black: '0x1c1c1c'
red: '0xef2f27'
green: '0x519f50'
yellow: '0xfbb829'
blue: '0x2c78bf'
magenta: '0xe02c6d'
cyan: '0x0aaeb3'
white: '0xd0bfa1'
black: '#1c1c1c'
red: '#ef2f27'
green: '#519f50'
yellow: '#faa030'
blue: '#34608d'
magenta: '#e02c6d'
cyan: '#0aaeb3'
white: '#d0d0d0'
# Bright colors
bright:
black: '0x555555'
red: '0xf75341'
green: '0x98bc37'
yellow: '0xfed06e'
blue: '0x68a8e4'
magenta: '0xff5c8f'
cyan: '0x53fde9'
white: '0xfce8c3'
black: '#666666'
red: '#f75341'
green: '#98bc37'
yellow: '#ffe64d'
blue: '#008bbd'
magenta: '#ff5c8f'
cyan: '#6fc3df'
white: '#fcfcfc'
# colors:

View File

@ -2,7 +2,6 @@
set -euf -o pipefail
bspc rule -r "*"
pkill alacritty
moni &
@ -15,8 +14,8 @@ bspc config bottom_padding 0
bspc config split_ratio 0.50
# Opciones
bspc config gapless_monocle true
bspc config borderless_monocle true
bspc config gapless_monocle false
bspc config borderless_monocle false
bspc config single_monocle true
bspc config ignore_ewmh_focus true
bspc config remove_unplugged_monitors false
@ -38,9 +37,9 @@ get_xrdb() {
# Colores
bspc config normal_border_color "$(get_xrdb color0)"
bspc config focused_border_color "$(get_xrdb color4)"
bspc config focused_border_color "$(get_xrdb color12)"
bspc config active_border_color "$(get_xrdb color8)"
bspc config presel_feedback_color "$(get_xrdb color5)"
bspc config presel_feedback_color "$(get_xrdb color6)"
# Flotantes
bspc rule -a Pavucontrol state=floating
@ -61,4 +60,4 @@ bspc rule -a Zathura state=tiled
bspc rule -a Firefox:Navigator state=tiled, desktop='^2'
bspc rule -a Alacritty:multi desktop='^1'
alacritty --class=multi -e termux &
stx &

View File

@ -230,28 +230,21 @@ let g:srcery_undercurl = 1
let g:srcery_inverse_matches = 1
colorscheme srcery
function! MyHighlights() abort
highlight Trail ctermbg=red guibg=red
call matchadd('Trail', '\s\+$', 100)
highlight ColorColumn ctermbg=magenta
call matchadd('ColorColumn', '\%81v', 100)
endfunction
hi! VertSplit ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=#080808 gui=NONE
hi! Folded ctermbg=NONE guibg=NONE
hi! TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE guibg=NONE guifg=#ef2f27 gui=NONE
hi! TablineSel ctermfg=234 ctermbg=NONE guibg=NONE guifg=#008bbd
hi! RedrawDebugClear guibg=#080808
hi! NvimInternalError guifg=#080808
hi! DiffAdded guifg=#333333
hi! PmenuSel guifg=#6699cc guibg=#111111
hi! PmenuThumb guifg=#333333
hi! link CocErrorSign WarningMsg
hi! link CocWarningSign Number
hi! link CocInfoSign Type
hi! CocUnderline gui=undercurl term=undercurl
hi! CocErrorHighlight ctermfg=red guifg=#c4384b gui=undercurl term=undercurl
hi! CocWarningHighlight ctermfg=yellow guifg=#c4ab39 gui=undercurl term=undercurl
highlight! VertSplit ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=#080808 gui=NONE
highlight! TabLineFill ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=#ef2f27 gui=NONE
highlight! TablineSel ctermbg=NONE ctermfg=234 guibg=NONE guifg=#008bbd
highlight! CocWarningHighlight ctermfg=4 cterm=undercurl guifg=#c4ab39 gui=undercurl
highlight! CocErrorHighlight ctermfg=red cterm=undercurl guifg=#c4384b gui=undercurl
highlight! CocUnderline cterm=undercurl gui=undercurl
highlight! PmenuSel guibg=#111111 guifg=#6699cc
highlight! Folded ctermbg=NONE guibg=NONE
highlight! RedrawDebugClear guibg=#080808
highlight! NvimInternalError guifg=#080808
highlight! DiffAdded guifg=#333333
highlight! PmenuThumb guifg=#333333
highlight! link CocErrorSign WarningMsg
highlight! link CocWarningSign Number
highlight! link CocInfoSign Type
" }}}
" Statusline {{{
highlight User1 ctermfg=251 ctermbg=NONE guibg=NONE guifg=#c6c6c6
@ -358,39 +351,44 @@ function! Tabline()
endfunction
set tabline=%!Tabline()
" }}}
" Functions {{{
function! MyHighlights() abort
highlight Trail ctermbg=red guibg=red
call matchadd('Trail', '\s\+$', 100)
highlight ColorColumn ctermbg=magenta
call matchadd('ColorColumn', '\%81v', 100)
endfunction
function! PopOutOfInsertMode() abort
if v:insertmode
call feedkeys("\<C-\>\<C-n>")
endif
endfunction
function! Relativize(v) abort
if &number
let &relativenumber = a:v
endif
endfunction
function! LocalStatusLine() abort
let b:status = '%#error#[HELP]%*'
return b:status
endfunction
function! CmdLine(str)
call feedkeys(':' . a:str)
endfunction
" }}}
" AutoCommands {{{
if !exists('autocommands_loaded') && has('autocmd')
let autocommands_loaded = 1
function! PopOutOfInsertMode() abort
if v:insertmode
call feedkeys("\<C-\>\<C-n>")
endif
endfunction
function! Relativize(v) abort
if &number
let &relativenumber = a:v
endif
endfunction
function! LocalStatusLine() abort
let b:status = '%#error#[HELP]%*'
return b:status
endfunction
aug relativize
au BufWinEnter,FocusGained,InsertLeave,WinEnter * call Relativize(1)
au BufWinLeave,FocusLost,InsertEnter,WinLeave * call Relativize(0)
aug END
aug on_save
au BufWritePre * :%s/\s\+$//e
au BufWritePost *xresources !xrdb %
au BufWritePost *sxhkdrc !pkill -USR1 sxhkd
au QuitPre * if empty(&buftype) | lclose | endif
aug END
aug term_stuff
au TermOpen * setlocal nonumber norelativenumber laststatus=0
au TermOpen * setlocal signcolumn=no noruler nocursorline
@ -420,9 +418,17 @@ if !exists('autocommands_loaded') && has('autocmd')
au FileType typescript,json setlocal formatexpr=CocAction('formatSelected')
au FileType help setlocal statusline=%!LocalStatusLine()
au FileType json syntax match Comment +\/\/.\+$+
au BufNewFile,BufRead requirements*.txt set syntax=python
au FileType make setlocal noexpandtab
au BufNewFile,BufRead requirements*.txt set syntax=python
aug END
aug on_save
au BufWritePre * :%s/\s\+$//e
au BufWritePost *xresources !xrdb %
au BufWritePost *sxhkdrc !pkill -USR1 sxhkd
au BufWritePost $MYVIMRC nested source $MYVIMRC
au QuitPre * if empty(&buftype) | lclose | endif
aug END
endif
" }}}
" REPL {{{
@ -508,14 +514,14 @@ nnoremap <M-h> <C-W><C-H>
nnoremap <silent> <leader>ev :vsplit $MYVIMRC<CR>
nnoremap <silent> <leader>sv :source $MYVIMRC<CR>
" Gotta Go Fast (save, buffer close, quit, SOF, EOF, messages)
" Gotta Go Fast (save, buffer close, quit, messages, SOF, EOF)
nnoremap <silent> <leader>w :w!<CR>
nnoremap <silent> <leader>b :bdelete<CR>
nnoremap <silent> <leader>q :q!<CR>
nnoremap <silent> <leader>Q :qa!<CR>
nnoremap <silent> <leader>m :messsages<CR>
nnoremap <Bar> gg
nnoremap ¿ G
nnoremap <silent> <leader>m :messsages<CR>
" Splits
nnoremap <silent> <leader>T :call LaunchTerminal()<CR>
@ -622,20 +628,6 @@ vmap y ygv<Esc>
" Used when you want to paste over something without it getting copied to
" Vim's default buffer
vnoremap <leader>p "_dP
"}}}
"Terminal {{{
" Terminal movement
tnoremap <Esc> <C-\><C-n>
tnoremap <M-h> <C-\><C-n><C-w>h
tnoremap <M-j> <C-\><C-n><C-w>j
tnoremap <M-k> <C-\><C-n><C-w>k
tnoremap <M-l> <C-\><C-n><C-w>l
"}}}
"}}}
" Functions {{{
function! CmdLine(str)
call feedkeys(':' . a:str)
endfunction
" global replace
vnoremap <Leader>sw "hy
@ -666,5 +658,14 @@ nnoremap <Leader>cw
\ execute "%s/<C-r><C-w>/".b:sub.'/gc' <Bar>
\ unlet b:sub <Bar>
\ endif <CR>
" }}}
"}}}
"Terminal {{{
" Terminal movement
tnoremap <Esc> <C-\><C-n>
tnoremap <M-h> <C-\><C-n><C-w>h
tnoremap <M-j> <C-\><C-n><C-w>j
tnoremap <M-k> <C-\><C-n><C-w>k
tnoremap <M-l> <C-\><C-n><C-w>l
"}}}
"}}}
" vim:foldmethod=marker:foldlevel=0

View File

@ -72,7 +72,7 @@ bind-key R source-file $HOME/.tmux.conf \; display "Config Reloa
# Dividir
bind-key | split-window -h -c "#{pane_current_path}"
bind-key - split-window -v -c "#{pane_current_path}"
bind-key / split-window -fh -c "#{pane_current_path}"
bind-key ° split-window -fh -c "#{pane_current_path}"
bind-key _ split-window -fv -c "#{pane_current_path}"
# Cerrar

View File

@ -29,7 +29,7 @@ alias \
# Dotfiles
alias \
hxa='hx add -v' \
hxu='hx add -vu' \
hxu='hx add -vu && hx commit -m' \
hxp='hx push' \
hxc='hx commit -m' \
hxs='hx status' \
@ -86,7 +86,7 @@ alias \
ta='tmux attach -t' \
tn='tmux new-session -s' \
tk='tmux kill-session -t' \
tsq='pkill transmission-daemon' \
tsk='pkill transmission-daemon' \
tsl='transmission-remote --list' \
tsx='transmission-remote --remove-and-delete -t' \
tsr='transmission-remote --remove -t' \

View File

@ -6,7 +6,7 @@ get_xrdb() {
}
outer="$(get_xrdb color0)" # outer
inner1="$(get_xrdb color4)" # focused
inner1="$(get_xrdb color12)" # focused
inner2="$(get_xrdb color8)" # normal
draw() { chwb2 -I "$i" -O "$o" -i "2" -o "8" $@ 2> /dev/null; }

View File

@ -15,6 +15,6 @@ case $chosen in
"$reboot") loginctl reboot;;
"$suspend") loginctl suspend;;
"$lock") xset s activate;;
"$log_out") bspc quit 1;;
"$log_out") loginctl terminate-user 1000;;
*) exit 0;;
esac

View File

@ -1,4 +1,4 @@
ImageMagick-7.0.10.6_1
ImageMagick-7.0.10.9_1
alacritty-0.4.2_3
alsa-firmware-1.2.1_1
alsa-plugins-1.2.2_1
@ -13,7 +13,7 @@ audacity-2.3.3_1
autopep8-1.5.1_1
base-system-0.113_2
bashmount-3.2.0_2
bat-0.13.0_1
bat-0.15.0_1
broot-0.13.4_1
bspwm-0.9.9_2
cadence-0.9.1_1
@ -22,6 +22,7 @@ connman-1.38_1
connman-ncurses-1.0_3
cryptsetup-2.3.1_1
ctags-5.8_7
delta-0.0.17_1
dfc-3.1.1_1
dunst-1.4.1_1
elogind-243.4_2
@ -56,13 +57,13 @@ libXft-devel-2.3.3_1
libXinerama-devel-1.1.4_1
librsvg-2.47.1_1
lynx-2.8.9.1_3
maim-5.5.3_2
maim-5.5.3_3
mdadm-4.1_2
mediainfo-20.03_1
mlocate-0.26_4
mmutils-1.3_1
mmutils-1.4.1_1
mpc-0.33_1
mpd-0.21.22_1
mpd-0.21.23_1
mps-youtube-0.2.8_3
mpv-0.32.0_2
ncmpcpp-0.8.2_9
@ -81,8 +82,9 @@ pd-0.50.2_1
pinentry-gtk-1.1.0_6
pinentry-tty-1.1.0_6
pkg-config-0.29.2_2
powertop-2.11_1
powertop-2.12_1
pulseaudio-13.0_1
pulsemixer-1.5.1_1
python3-3.8.2_1
python3-BeautifulSoup4-4.8.2_1
python3-ipython-7.13.0_1
@ -94,6 +96,7 @@ python3-pip-20.0.2_1
python3-pycodestyle-2.5.0_2
python3-pyflakes-2.1.1_2
python3-vint-0.3.19_3
run-mailcap-3.64_1
sc3-plugins-3.10.0_2
setxkbmap-1.3.2_1
shellcheck-0.7.1_2
@ -103,7 +106,7 @@ socklog-void-20200115_1
supercollider-3.10.4_1
sxhkd-0.6.1_1
sxiv-26_1
tmux-3.0a_2
tmux-3.1_1
toilet-0.3_2
transmission-2.94_5
tremc-0.9.1_1
@ -132,6 +135,7 @@ xrdb-1.2.0_2
xset-1.2.4_1
xsetroot-1.1.2_1
xss-lock-0.3.0_2
xtitle-0.4.4_1
xtools-0.58_1
xz-5.2.5_1
yarn-1.22.0_1