dgy
/
hexagons
Archived
1
0
Fork 0

Chicos, Medianos, y Grandes

Empezando por los grandes. portee mis scripts de dmenu a rofi ya que
este ultimo ha alcanzado un grado de madurez que considero
satisfactoria. Seguramente haga falta ajustar algunos detalles pero eso
lo ire viendo con el uso.

En cuanto a medianos, afilar el hacha es una ocupacion constante, ojala
me pagaran por eso (creo que ya puse eso en un commit una vez...). Asi
que agregue cosas relevantes para golang, ajuste varios temas de ALE
porque me parecia que no andaban del todo bien, y agregue algunos
archivos que por alguna razon no estaban en el repo.
Siguiendo con los medianos, cambie un par de cosas en la configuracion
de neomutt, como poder tener fechas relativas en el inbox, usar elinks y
suprimir esos mensajes de autoview que eran puro ruido.

Chicos no se, varias cositas aqui y alla. Los cambios de QOL de siempre,
supongo.
Ah, y borre a la mierda el readme de /bin porque era medio cualquiera,
despues voy a ver de crear uno como la gente.
This commit is contained in:
DeadGit 2020-10-21 10:05:09 -03:00
parent 7fc579e1b0
commit 0f8ddd1bbe
No known key found for this signature in database
GPG Key ID: 9EAFB27F820FF83C
63 changed files with 1759 additions and 699 deletions

View File

@ -35,9 +35,9 @@
*.color7: #a89984 *.color7: #a89984
*.color15: #ffffff *.color15: #ffffff
dmenu.font: System Charcoal:pixelsize=16:antialias=true:autohint=true; dmenu.font: System Charcoal:pixelsize=15:antialias=true:autohint=true;
dmenu.background: #d8d8d8 dmenu.background: #080808
dmenu.foreground: #380000 dmenu.foreground: #b3b1ad
dmenu.selbackground: #fccb00 dmenu.selbackground: #fccb00
dmenu.selforeground: #380000 dmenu.selforeground: #380000

View File

@ -1,14 +1,12 @@
window: window:
dimensions: dimensions:
columns: 80 columns: 140
lines: 25 lines: 30
padding: padding:
x: 15 x: 10
y: 5 y: 5
# decorations: none
dynamic_title: true dynamic_title: true
scrolling: scrolling:
@ -35,7 +33,13 @@ font:
# as modifying the line spacing, and `offset.x` as modifying the letter spacing. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
offset: offset:
x: 0 x: 0
y: 1 y: 0
glyph_offset:
x: 0
y: 0
use_thin_strokes: true
draw_bold_text_with_bright_colors: false draw_bold_text_with_bright_colors: false

View File

@ -1,10 +1,10 @@
#!/bin/sh #!/bin/sh
bspc rule -r "*"
bspmonis & bspmonis &
randbg & randbg &
bspc rule -r "*"
bspc config border_width 2 bspc config border_width 2
bspc config window_gap 6 bspc config window_gap 6
bspc config top_padding 5 bspc config top_padding 5
@ -44,8 +44,7 @@ bspc config active_border_color "$(get_xrdb color8)"
bspc config presel_feedback_color "$(get_xrdb color6)" bspc config presel_feedback_color "$(get_xrdb color6)"
# Flotantes # Flotantes
bspc rule -a Catia state=floating bspc rule -a QjackCtl state=floating
bspc rule -a Cadence state=floating
bspc rule -a mpv state=floating bspc rule -a mpv state=floating
bspc rule -a Alacritty:flota state=floating bspc rule -a Alacritty:flota state=floating
bspc rule -a Sxiv:flota state=floating bspc rule -a Sxiv:flota state=floating

View File

@ -272,6 +272,7 @@ map za $apack "$f".zip $f
map zu $file-roller "$f" map zu $file-roller "$f"
map zx $atool --each --extract "$f" map zx $atool --each --extract "$f"
map zg $hx add $fs map zg $hx add $fs
map zf $hx add $fs .
map zn newfold map zn newfold
map i push A<c-a> # at the very beginning map i push A<c-a> # at the very beginning

View File

@ -11,6 +11,14 @@ audio_output {
name "Pulse Audio" name "Pulse Audio"
} }
#audio_output {
# type "alsa"
# name "ALSA sound card"
# # Optional
# #device "iec958:CARD=Intel,DEV=0"
# #mixer_control "PCM"
#}
audio_output { audio_output {
type "fifo" type "fifo"
name "Visualizer" name "Visualizer"

View File

@ -4,8 +4,8 @@ text/html; elinks -no-connect -dump -dump-charset UTF-8 -dump-width 140 -default
text/x-diff; colordiff; copiousoutput text/x-diff; colordiff; copiousoutput
text/x-patch; colordiff; copiousoutput text/x-patch; colordiff; copiousoutput
image/*; openfile %s ; image/*; openfile %s ;
video/*; setsid mpv --quiet %s &; copiousoutput video/*; setsid mpv --quiet--keep-open -
audio/*; mpv %s ; audio/*; mpv %s ;
application/pdf; openfile %s ; application/pdf; zathura --fork - && sleep 1; test=test -n "$DISPLAY"
application/pgp-encrypted; gpg -d '%s'; copiousoutput; application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput; application/pgp-keys; gpg --import '%s'; copiousoutput;

View File

@ -8,11 +8,13 @@ unset help
set mailcap_path = ~/.config/neomutt/mailcap set mailcap_path = ~/.config/neomutt/mailcap
set sort = threads set sort = threads
set sort_aux = reverse-last-date-received set sort_aux = reverse-last-date-received
set strict_threads
set smtp_authenticators = 'gssapi:login' set smtp_authenticators = 'gssapi:login'
set attribution = "En %{!%F a las %R}, %n escribió:" set attribution = "En %{!%F a las %R}, %n escribió:"
set date_format = "%F %R" set date_format = "%F %R"
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*" set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set send_charset = "utf-8"
set forward_format = "Fwd: %s" # Format of subject when forwarding set forward_format = "Fwd: %s" # Format of subject when forwarding
set sleep_time = 0 # Pause 0 seconds for informational messages set sleep_time = 0 # Pause 0 seconds for informational messages
set mail_check = 60 # To avoid lags using IMAP set mail_check = 60 # To avoid lags using IMAP
@ -27,12 +29,14 @@ set sidebar_visible = no # Not needed
set markers = no # Disables the `+` displayed at line wraps set markers = no # Disables the `+` displayed at line wraps
set mark_old = no # Unread mail stay unread until read set mark_old = no # Unread mail stay unread until read
set wait_key = no # mutt won't ask "press key to continue" set wait_key = no # mutt won't ask "press key to continue"
set recall = no # that's what R keybind is for
set fast_reply # skip to compose when replying set fast_reply # skip to compose when replying
set fcc_attach # save attachments with the body set fcc_attach # save attachments with the body
set forward_quote # include message in forwards set forward_quote # include message in forwards
set reverse_name # reply as whomever it was to set reverse_name # reply as whomever it was to
set include # include message in replies set include # include message in replies
set menu_scroll # scroll in menus set menu_scroll # scroll in menus
set autoedit
set edit_headers set edit_headers
set sort_re set sort_re
set arrow_cursor set arrow_cursor
@ -60,12 +64,6 @@ unhdr_order *
unignore from subject to cc date x-mailer x-url user-agent unignore from subject to cc date x-mailer x-url user-agent
hdr_order date from to cc subject hdr_order date from to cc subject
index-format-hook date "~d<1d" "Today"
index-format-hook date "~d<2d" "Yesterday"
index-format-hook date "~d<1w" "%[%A]"
index-format-hook date "~d<1y" "%[%b %d]"
index-format-hook date "~A" "%[%b %y]"
# Warns if replying to multiple recipt email # Warns if replying to multiple recipt email
reply-hook "~C 2" "set sleep_time=10\;echo 'Warning, original message has multiple recipients!'\;set sleep_time=1" reply-hook "~C 2" "set sleep_time=10\;echo 'Warning, original message has multiple recipients!'\;set sleep_time=1"

View File

@ -1,12 +1,12 @@
# vim: filetype=neomuttrc # vim: filetype=neomuttrc
# ----------------------------------------------------------------------------
# Powerline / nerdfont # Powerline / nerdfont
# This is a bit "hackish" due to neomutt limitations # This is a bit "hackish" due to neomutt limitations
# #
# Author: Sheoak <contact [at] sheoak.fr> # Author: Sheoak https://github.com/sheoak/neomutt-powerline-nerdfonts
# ----------------------------------------------------------------------------
set index_format=" %zs %zc %zt %{!%F %R} %-28.28L %?M?(%1M)& ? %?X?& ? %s" set index_format=" %zs %zc %zt %<[y?%<[m?%<[d?%[%R ]&%[%a %d]>&%[%b %d]>&%[%F ]> %-28.28L %?M?(%1M)& ? %?X?& ? %s"
set pager_format="\n %n %T %s%*  %{!%F · %R} %?X? %X?%P  \n \n" set pager_format="\n %n %T %s%*  %{!%F · %R} %?X? %X?%P  \n \n"
set status_format = " %f %?r? %m ?%?n? %n ?%?d? %d ?%?t? %t ?%?F? %F ?%?p? %p? \n \n" set status_format = " %f %?r? %m ?%?n? %n ?%?d? %d ?%?t? %t ?%?F? %F ?%?p? %p? \n \n"
set vfolder_format = " %N %?n?%3n& ? %8m  · %f" set vfolder_format = " %N %?n?%3n& ? %8m  · %f"

View File

@ -0,0 +1,36 @@
setlocal noexpandtab
setlocal shiftwidth=4
setlocal tabstop=4
setlocal foldmethod=syntax
let g:go_autodetect_gopath = 1
let g:go_imports_autosave = 1
let g:go_doc_popup_window = 1
let g:go_gopls_enabled = 1
let g:go_fmt_command = "goimports"
let g:go_list_type = "quickfix"
" Go syntax highlighting
let g:go_highlight_fields = 1
let g:go_highlight_functions = 1
let g:go_highlight_function_calls = 1
let g:go_highlight_extra_types = 1
let g:go_highlight_operators = 1
" Status line types/signatures
let g:go_auto_type_info = 1
" Add the failing test name to the output of :GoTest
let g:go_test_show_name = 1
let b:ale_linters = ['gopls']
inoremap <buffer> . .<C-x><C-o>
nmap <buffer><localleader>t :GoTest!<CR>
nmap <buffer><localleader>v :GoVet!<CR>
nmap <buffer><localleader>b :GoBuild!<CR>
nmap <buffer><localleader>i :GoInstall!<CR>
nmap <buffer><localleader>l :GoMetaLinter!<CR>
nmap <buffer><localleader>r :GoRun %<CR>
nmap <buffer><localleader>d :GoDebugStart!<CR>
nmap <buffer><leader>r :GoRun!<CR>

View File

@ -1,2 +1,2 @@
let b:ale_fixers = ['prettier_standard'] let b:ale_linters = ['tidy']
let b:ale_linters = ['prettier_standard'] let b:ale_fixers = ['prettier']

View File

@ -1,2 +1,2 @@
let b:ale_linters = ['prettier_standard'] let b:ale_linters = ['prettier']
let b:ale_fixers = ['prettier_standard'] let b:ale_fixers = ['prettier']

View File

@ -2,7 +2,7 @@ setlocal nonumber norelativenumber laststatus=0 showmode
setlocal signcolumn=no textwidth=80 wrap sw=2 setlocal signcolumn=no textwidth=80 wrap sw=2
setlocal tabstop=2 expandtab softtabstop=2 linebreak setlocal tabstop=2 expandtab softtabstop=2 linebreak
setlocal autoindent noruler colorcolumn=80 synmaxcol=0 setlocal autoindent noruler colorcolumn=80 synmaxcol=0
setlocal spell spelllang=es,en_us,cjk setlocal spell spelllang=es_AR,en_us,cjk
setlocal formatoptions& setlocal formatoptions&
setlocal formatoptions+=tqn setlocal formatoptions+=tqn
setlocal formatlistpat=^\\s*\\(\\d\\+\\\|[a-z]\\)[\\].)]\\s* setlocal formatlistpat=^\\s*\\(\\d\\+\\\|[a-z]\\)[\\].)]\\s*
@ -26,5 +26,5 @@ inoremap <buffer> <silent> <C-d> <esc>:.s/\[\]/\[x\]<Enter>
nnoremap <buffer> <silent> ]] :<C-u>call <SID>dead#functions#JumpToNextHeading("down", v:count1)<CR> nnoremap <buffer> <silent> ]] :<C-u>call <SID>dead#functions#JumpToNextHeading("down", v:count1)<CR>
nnoremap <buffer> <silent> [[ :<C-u>call <SID>dead#functions#JumpToNextHeading("up", v:count1)<CR> nnoremap <buffer> <silent> [[ :<C-u>call <SID>dead#functions#JumpToNextHeading("up", v:count1)<CR>
let b:ale_linters = ['prettier']
let b:ale_fixers = ['prettier_standard'] let b:ale_fixers = ['prettier']

View File

@ -0,0 +1,45 @@
setlocal cursorline
setlocal nospell
setlocal nolist
" Close with q
nnoremap <buffer> q :<C-u>close<CR>
nnoremap <buffer><silent> <C-j> :<C-u>call <SID>older()<CR>
nnoremap <buffer><silent> <C-k> :<C-u>call <SID>newer()<CR>
function! s:is_quickfix() abort
return getwininfo(win_getid())[0].quickfix
endfunction
if !exists('*s:older')
function! s:older() abort
try
if s:is_quickfix()
colder
else
lolder
endif
catch
echohl ErrorMsg
echo substitute(v:exception, 'Vim(.*):', '', '')
echohl None
endtry
endfunction
endif
if !exists('*s:newer')
function! s:newer() abort
try
if s:is_quickfix()
cnewer
else
lnewer
endif
catch
echohl ErrorMsg
echo substitute(v:exception, 'Vim(.*):', '', '')
echohl None
endtry
endfunction
endif

View File

@ -1,5 +1,3 @@
setlocal shiftwidth=2 tabstop=2 softtabstop=2 expandtab
if !exists("b:sh_indent_options") if !exists("b:sh_indent_options")
let b:sh_indent_options = {} let b:sh_indent_options = {}
endif endif

View File

@ -0,0 +1,6 @@
setlocal nofoldenable foldcolumn=0
setlocal nonumber norelativenumber
setlocal signcolumn=no
setlocal wrap noruler
startinsert!

View File

@ -1,2 +1,2 @@
setlocal spell spelllang=es,en_us setlocal spell spelllang=es_AR,en_us
inoremap <buffer> <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u inoremap <buffer> <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u

View File

@ -0,0 +1 @@
let b:ale_linters = ['vint']

View File

@ -0,0 +1 @@
let b:ale_linters = ['prettier']

View File

@ -0,0 +1,2 @@
setlocal shiftwidth=2

View File

@ -1,9 +1,8 @@
" Config
nnoremap <silent><F6> :vsplit<CR><Bar>:CocConfig<CR>
if exists('b:coc_enabled=1') if exists('b:coc_enabled=1')
set completeopt-=preview set completeopt-=preview
nnoremap <silent><F6> :vsplit<CR><Bar>:CocConfig<CR>
let g:coc_global_extensions = ['coc-highlight', 'coc-snippets', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-emmet'] let g:coc_global_extensions = ['coc-highlight', 'coc-snippets', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-emmet']
inoremap <buffer><silent><expr> <TAB> inoremap <buffer><silent><expr> <TAB>
@ -49,4 +48,12 @@ if exists('b:coc_enabled=1')
au CursorHold * silent call CocActionAsync('highlight') au CursorHold * silent call CocActionAsync('highlight')
au User CocJumpPlaceholder call CocActionAsync('showSignatureHelp') au User CocJumpPlaceholder call CocActionAsync('showSignatureHelp')
aug END aug END
else
set omnifunc=syntaxcomplete#Complete
" open omni completion menu closing previous if open and opening new menu without changing the text
inoremap <silent> <expr> <C-Space> (pumvisible() ? (col('.') > 1 ? '<Esc>i<Right>' : '<Esc>i') : '') .
\ '<C-x><C-o><C-r>=pumvisible() ? "\<lt>C-n>\<lt>C-p>\<lt>Down>" : ""<CR>'
" open user completion menu closing previous if open and opening new menu without changing the text
inoremap <silent> <expr> <S-Space> (pumvisible() ? (col('.') > 1 ? '<Esc>i<Right>' : '<Esc>i') : '') .
\ '<C-x><C-u><C-r>=pumvisible() ? "\<lt>C-n>\<lt>C-p>\<lt>Down>" : ""<CR>'
endif endif

View File

@ -0,0 +1,4 @@
augroup Profugo
autocmd!
autocmd BufReadPost fugitive:///*//2/*,fugitive:///*//3/* setlocal nomodifiable readonly
augroup END

View File

@ -20,3 +20,11 @@ function! dead#functions#JumpToNextHeading(direction, count)
silent execute "normal! " . col . "|" silent execute "normal! " . col . "|"
unlet col unlet col
endfunction endfunction
function! dead#functions#NewMail()
let l:path = system('mktemp --tmpdir XXXXXXXXXX.eml')
execute 'sp' l:path
" See the help for `skeleton`.
0r ~/.config/nvim/templates/correo.skeleton | w | $
endfunction
command! Mail call dead#functions#NewMail()

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
setlocal formatexpr=CocAction('formatSelected')

View File

@ -0,0 +1 @@
au BufNewFile,BufRead neomutt-*-\w\+,neomutt[[:alnum:]_-]\\\{6\} set filetype=mail

View File

@ -0,0 +1 @@
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc

View File

@ -0,0 +1 @@
setlocal formatexpr=CocAction('formatSelected')

View File

@ -1 +1,2 @@
setlocal noexpandtab setlocal noexpandtab
setlocal nolist

View File

@ -1,9 +0,0 @@
setlocal noexpandtab
setlocal shiftwidth=4
setlocal tabstop=4
aug miscs
au!
au CursorHold * silent call CocActionAsync('highlight')
au User CocJumpPlaceholder call CocActionAsync('showSignatureHelp')
aug END

View File

@ -0,0 +1,56 @@
" The virgin plugin vs the chad local options
setlocal nonumber norelativenumber laststatus=0 showmode
setlocal signcolumn=no textwidth=80 wrap sw=2
setlocal tabstop=2 expandtab softtabstop=2 linebreak
setlocal autoindent noruler colorcolumn=80
setlocal spell spelllang=es_AR,en_us
function! s:OnExit(job_id, code, event) dict
if a:code == 0
" NeoMutt successfully sent the mail. Get rid of the terminal buffer and window.
" We can't use plain `bd!` because the terminal window may no longer have focus.
execute 'bd!' s:bufnr
" Quit if we succeeded in sending the email and there's only one buffer left.
if len(getbufinfo({'buflisted': 1})) == 1
quit
endif
else
" We didn't send the mail. Go back to the buffer with the message. FIXME: we
" probably shouldn't rely on a [plugin][1].
execute 'Bd!' s:bufnr
endif
endfunction
function! s:SendMail()
let l:message_file = expand('%')
if l:message_file != ''
update
else
" Cope with the buffer not having an associated file. TODO: delete this file if we
" succeed in sending the mail?
let l:message_file = system('mktemp')
execute 'w!' l:message_file
endif
enew
" Tell NeoMutt to use `true` as the editor. This makes it show the compose menu
" directly instead of starting Vim inside of Vim. Also don't use the curses pinentry
" program. There seem to be some issues when using it from NeoMutt inside Vim inside
" screen(1).
call termopen('VISUAL=true PINENTRY_USER_DATA=gtk neomutt ' .
\ "-e 'set postpone=no sidebar_visible=no assumed_charset=utf-8' " .
\ "-H " . l:message_file, {'on_exit': function('s:OnExit')})
let s:bufnr = bufnr('%')
startinsert
endfunction
nnoremap <buffer> <F7> [s
nnoremap <buffer> <F8> ]s
nnoremap <buffer> <F9> z=
nnoremap <buffer> <F10> zg
inoremap <buffer> <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
nnoremap <buffer> <silent> <C-H> :<C-U>call <SID>SendMail()<CR>
nnoremap <buffer> <silent> <localleader>f gg/From:<CR>:nohlsearch<CR>4lC:
nnoremap <buffer> <silent> <localleader>t gg/To:<CR>:nohlsearch<CR>2lC:
nnoremap <buffer> <silent> <localleader>c gg/Cc:<CR>:nohlsearch<CR>2lC:
nnoremap <buffer> <silent> <localleader>b gg/Bcc:<CR>:nohlsearch<CR>3lC:
nnoremap <buffer> <silent> <localleader>s gg/Subject:<CR>:nohlsearch<CR>7lC:

View File

@ -15,7 +15,9 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | call coc#util#install() | source $MYVIMRC autocmd VimEnter * PlugInstall --sync | call coc#util#install() | source $MYVIMRC
endif endif
let $GIT_EDITOR = 'nvr -cc split --remote-wait' let $GIT_EDITOR = 'nvr -cc split --remote-wait'
let mapleader="\<SPACE>" let mapleader="\<SPACE>"
let maplocalleader=',' let maplocalleader=','
@ -32,12 +34,15 @@ let g:srcery_underline = 1
let g:srcery_undercurl = 1 let g:srcery_undercurl = 1
colorscheme srcery colorscheme srcery
call plug#begin(stdpath('data') . '/plugged') if filereadable(expand("~/.local/share/nvim/site/autoload/plug.vim"))
Plug 'dense-analysis/ale' call plug#begin(stdpath('data') . '/plugged')
Plug 'lervag/vimtex', {'for': 'latex'} Plug 'dense-analysis/ale'
Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['javascript', 'html', 'css', 'json', 'typescript', 'jsx', 'tsx', 'go']} Plug 'lervag/vimtex', {'for': 'latex'}
Plug 'tpope/vim-fugitive' Plug 'neoclide/coc.nvim', {'branch': 'release', 'for': ['javascript', 'html', 'css', 'json', 'typescript', 'jsx', 'tsx']}
Plug 'airblade/vim-gitgutter' Plug 'fatih/vim-go', {'for': 'go', 'do': ':GoInstallBinaries'}
Plug 'junegunn/fzf.vim' Plug 'tpope/vim-fugitive'
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'airblade/vim-gitgutter'
call plug#end() Plug 'junegunn/fzf.vim'
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
call plug#end()
endif

View File

@ -15,6 +15,7 @@ if !exists('autocommands_loaded') && has('autocmd')
au FileType gitcommit,gitrebase,gitconfig set bufhidden=delete au FileType gitcommit,gitrebase,gitconfig set bufhidden=delete
au BufNewFile,BufRead requirements*.txt set syntax=python au BufNewFile,BufRead requirements*.txt set syntax=python
au FileType fzf tnoremap <buffer> <esc> <c-c> au FileType fzf tnoremap <buffer> <esc> <c-c>
au BufRead,BufNewFile /tmp/neomutt* set filetype=mail
aug END aug END
aug StatusLine aug StatusLine

View File

@ -0,0 +1,79 @@
let g:netrw_dirhistmax=0
let g:netrw_banner = 0
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
aug defx_things
au!
" Close defx if it's the only buffer left in the window
au WinEnter * if &ft == 'defx' && winnr('$') == 1 | q | endif
" Move focus to the next window if current buffer is defx
au TabLeave * if &ft == 'defx' | wincmd w | endif
au FileType defx do WinEnter | call s:defx_my_settings()
aug END
call defx#custom#option('_', {
\ 'columns': 'mark:indent:git:icon:filename:type',
\ 'winwidth': 30,
\ 'buffer_name': '',
\ 'split': 'vertical',
\ 'direction': 'topleft',
\ 'show_ignored_files': 0,
\ 'toggle': 1,
\ 'resume': 1
\ })
call defx#custom#column('icon', {
\ 'directory_icon': '▷',
\ 'opened_icon': '▼',
\ 'root_icon': '~',
\ })
call defx#custom#column('mark', {
\ 'readonly_icon': '',
\ 'selected_icon': '',
\ })
function! s:defx_my_settings() abort
setl nonumber
setl norelativenumber
setl listchars=
setl nofoldenable
setl foldmethod=manual
nnoremap <silent><buffer><expr> o defx#do_action('open_tree', 'toggle')
nnoremap <silent><buffer><expr> l defx#do_action('open_tree')
nnoremap <silent><buffer><expr> h defx#do_action('close_tree')
nnoremap <silent><buffer><expr> <CR> defx#do_action('multi', ['drop', 'quit'])
nnoremap <silent><buffer><expr> <C-v> defx#do_action('multi', [['open', 'botright vsplit'], 'quit'])
nnoremap <silent><buffer><expr> <C-x> defx#do_action('multi', [['open', 'topleft split'], 'quit'])
nnoremap <silent><buffer><expr> t defx#do_action('multi', [['drop', 'tabnew'], 'quit'])
nnoremap <silent><buffer><expr> D defx#do_action('new_directory')
nnoremap <silent><buffer><expr> F defx#do_action('new_multiple_files')
nnoremap <silent><buffer><expr> dd defx#do_action('remove')
nnoremap <silent><buffer><expr> r defx#do_action('rename')
nnoremap <silent><buffer><expr> x defx#do_action('execute_system')
nnoremap <silent><buffer><expr> . defx#do_action('toggle_ignored_files')
nnoremap <silent><buffer><expr> y defx#do_action('yank_path')
nnoremap <silent><buffer><expr> <BS> defx#do_action('cd', ['..'])
nnoremap <silent><buffer><expr> ~ defx#async_action('cd')
nnoremap <silent><buffer><expr> q defx#do_action('quit')
nnoremap <silent><buffer><expr> ' defx#do_action('toggle_select') . 'j'
nnoremap <silent><buffer><expr> * defx#do_action('toggle_select_all')
nnoremap <silent><buffer><expr> <C-r> defx#do_action('redraw')
nnoremap <silent><buffer><expr> S defx#do_action('toggle_sort', 'Time')
nnoremap <silent><buffer><expr> cd defx#do_action('change_vim_cwd')
nnoremap <silent><buffer><expr><nowait> / defx#do_action('cd', getcwd())
nnoremap <silent><buffer><expr><nowait> c defx#do_action('copy')
nnoremap <silent><buffer><expr><nowait> m defx#do_action('move')
nnoremap <silent><buffer><expr><nowait> p defx#do_action('paste')
nnoremap <silent><buffer><expr> j
\ line('.') == line('$') ? 'gg' : 'j'
nnoremap <silent><buffer><expr> k
\ line('.') == 1 ? 'G' : 'k'
endfunction
nnoremap <silent> <F5> :Defx -toggle<CR>

View File

@ -1,5 +1,8 @@
let g:gitgutter_highlight_linenrs = 1 let g:gitgutter_enabled = 0
let g:gitgutter_set_sign_backgrounds = 1 let g:gitgutter_realtime = 0
let g:gitgutter_eager = 0
let g:gitgutter_terminal_reports_focus=0 let g:gitgutter_terminal_reports_focus=0
let g:gitgutter_map_keys = 0 let g:gitgutter_map_keys = 0
let g:gitgutter_highlight_linenrs = 1
let g:gitgutter_set_sign_backgrounds = 1
let g:gitgutter_grep = 'rg --color=never' let g:gitgutter_grep = 'rg --color=never'

View File

@ -1,10 +1,10 @@
" Ñ master race " Ñ master race
nnoremap ñ ; nnoremap ñ ;
nnoremap Ñ , nnoremap Ñ ,
nnoremap {q :cprev nnoremap <silent> {q :cprev<CR>
nnoremap }q :cnext nnoremap <silent> }q :cnext<CR>
nnoremap {Q :cfirst nnoremap <silent> {Q :cfirst<CR>
nnoremap }Q :clast nnoremap <silent> }Q :clast<CR>
nnoremap <silent> {o :call append(line('.'), '')<CR> nnoremap <silent> {o :call append(line('.'), '')<CR>
nnoremap <silent> }o :call append(line('.')-1, '')<CR> nnoremap <silent> }o :call append(line('.')-1, '')<CR>

View File

@ -0,0 +1,5 @@
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

View File

@ -43,6 +43,7 @@ set nowritebackup
set undofile set undofile
set undolevels=1000 set undolevels=1000
set undoreload=10000 set undoreload=10000
set completeopt=menu,menuone,noinsert,noselect
set listchars+=precedes:<,extends:> set listchars+=precedes:<,extends:>
set diffopt+=algorithm:histogram,indent-heuristic set diffopt+=algorithm:histogram,indent-heuristic
set diffopt+=foldcolumn:0 set diffopt+=foldcolumn:0

View File

@ -1,7 +1,4 @@
# BSPWM Hotkeys # BSPWM Hotkeys
ctrl + alt + r
bspc wm -r
super + {_,shift} + w super + {_,shift} + w
bspc node -{c,k} bspc node -{c,k}
@ -46,22 +43,25 @@ super + {_,shift} + ntilde
minve {hide,show} minve {hide,show}
super + space super + space
j4-dmenu-desktop --dmenu="dmenu -i -w 250 -p ' ' " --no-generic rofi -show drun -theme dprompt
super + {b,q,s,n,p,t,r,d,i} super + {b,q,s,n,p,t,r,d}
{$BROWSER,powermenu,vent,escribir,pom,tv,ref,leer,wpadd} {$BROWSER,powermenu,rofi -show window,escribir,pom,tv,ref,leer}
super + ctrl + d
deci
super + {_,shift} + g super + {_,shift} + g
{grabar,corte} {grabar,corte}
super + {z,x,v} super + {z,x,v,c}
$TERMINAL {_,--class=flota,--class=flota -e pulsemixer} $TERMINAL {_,--class=flota,--class=flota -e pulsemixer,--class=flota -e nvim +Mail +1bw +startinsert}
super + {F1,F2,F3} super + {F1,F2,F3}
{fecha,tapa,notifocus} {fecha,tapa,notifocus}
ctrl + alt + {x,l} ctrl + alt + {x,l,r}
{xkill,xset s activate} {xkill,xset s activate,bspc wm -r}
Print Print
pantallazo pantallazo

View File

@ -23,7 +23,7 @@ set -g base-index 1
# Panes # Panes
set -g pane-base-index 1 set -g pane-base-index 1
set -g aggressive-resize on set -g aggressive-resize on
set -wg main-pane-width 100 set -wg main-pane-width 80
# Notificaciones # Notificaciones
set -g monitor-activity on set -g monitor-activity on
@ -39,11 +39,11 @@ set -g status-interval 60
set -g mode-style 'fg=#EEEEEE,bg=#75507B' set -g mode-style 'fg=#EEEEEE,bg=#75507B'
set -g message-command-style bg=colour0,fg=colour13 set -g message-command-style bg=colour0,fg=colour13
set -g message-style 'bg=#222222,fg=white,italics' set -g message-style 'bg=#222222,fg=white,italics'
set -g status-style "bg=default,fg=#999999" set -g status-style "bg=#080808,fg=#999999"
set -g status-left '#[fg=#555555]#S: ' set -g status-left '#[fg=#555555]#S: '
set -g status-right '#(txbar) #[fg=colour134]%a %d #[fg=colour167]%R' set -g status-right '#(txbar) #[fg=colour134]%a %d #[fg=colour167]%R'
set -g window-status-separator ' ' set -g window-status-separator ' '
set -g window-status-current-style fg=colour3 set -g window-status-current-style bg=default,fg=colour3
set -g window-status-activity-style bg=default,fg=colour15,italics set -g window-status-activity-style bg=default,fg=colour15,italics
set -g window-status-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}' set -g window-status-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}'
set -g window-status-current-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}' set -g window-status-current-format '#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}'

View File

@ -86,7 +86,6 @@ bindkey -M viins '^[[B' history-substring-search-down
bindkey -M viins '^E' edit-command-line bindkey -M viins '^E' edit-command-line
bindkey '^L' tmux-clear-screen bindkey '^L' tmux-clear-screen
bindkey '^X' run-with-sudo bindkey '^X' run-with-sudo
bindkey '^G' "dotbare fedit^J"
# }}} # }}}
# Normal {{{ # Normal {{{
bindkey -M vicmd 'j' down-line # Override down-line-or-history. bindkey -M vicmd 'j' down-line # Override down-line-or-history.

View File

@ -4,15 +4,16 @@ alias \
x='xui' \ x='xui' \
m='neomutt' \ m='neomutt' \
z='zathura' \ z='zathura' \
g='lab' \
se='sudoedit' \ se='sudoedit' \
am='alsamixer' \ am='alsamixer -c 1' \
pm='pulsemixer' \ pm='pulsemixer' \
nb='newsboat -q' \ nb='newsboat -q' \
py='python ' \ py='python ' \
vdi='nvim -d' \ vdf='nvim -d' \
git='lab' \
irc='catgirl' \ irc='catgirl' \
play='ncmpcpp' \ play='ncmpcpp' \
glow='glow -p -w 80' \
pyserv='python -m http.server' pyserv='python -m http.server'
# XBPS # XBPS
@ -89,7 +90,7 @@ alias \
ping='ping -c 5' \ ping='ping -c 5' \
dd='dd status=progress' \ dd='dd status=progress' \
dfc='dfc -dmT' \ dfc='dfc -dmT' \
strim='mpv --jack-port="OBS Jack Input"' \ # strim='mpv --jack-port="OBS Jack Input"' \
slrn='slrn -i ~/.config/slrn/rc -f ~/.config/slrn/jnewsrc.club --create' slrn='slrn -i ~/.config/slrn/rc -f ~/.config/slrn/jnewsrc.club --create'
# Comandos # Comandos

View File

@ -1,4 +1,5 @@
hash -d gl=$XDG_DATA_HOME hash -d gl=$XDG_DATA_HOME
hash -d gg=$GOPATH
hash -d ga=$HOME/.local/apps hash -d ga=$HOME/.local/apps
hash -d gb=$HOME/.local/bin hash -d gb=$HOME/.local/bin
hash -d g.=$XDG_CONFIG_HOME hash -d g.=$XDG_CONFIG_HOME

View File

@ -1,5 +1,4 @@
foreach plugin ( foreach plugin (
dotbare/dotbare.plugin.zsh
zsh-autopair/autopair.plugin.zsh zsh-autopair/autopair.plugin.zsh
zsh-system-clipboard/zsh-system-clipboard.plugin.zsh zsh-system-clipboard/zsh-system-clipboard.plugin.zsh
zsh-history-substring-search/zsh-history-substring-search.plugin.zsh zsh-history-substring-search/zsh-history-substring-search.plugin.zsh
@ -7,6 +6,5 @@ foreach plugin (
source $ZDOTDIR/conf/$plugin source $ZDOTDIR/conf/$plugin
} }
bindkey -s '^G' "dotbare fedit"^j
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1 HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
typeset -g ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT='true' typeset -g ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT='true'

View File

@ -1,218 +1,239 @@
export LF_ICONS="\ export LF_ICONS="\
di=:\ di= :\
fi=:\ fi= :\
ln=:\ ln= :\
or=:\ or= :\
ex=:\ ex= :\
.git=:\ .git= :\
Desktop=:\ Desktop= :\
Documents=:\ Documents= :\
Downloads=:\ Downloads= :\
Music=:\ Music= :\
Pictures=:\ Pictures= :\
Public=:\ Public= :\
Templates=:\ Templates= :\
Videos=:\ Videos= :\
mail=:\ mail= :\
.mail=:\ .mail= :\
.cache=:\ .cache= :\
.config=:\ .config= :\
trash=:\ trash= :\
Trash=:\ Trash= :\
bin=:\ bin= :\
hexagons=ﯟ:\ hexagons= :\
.Xdefaults=:\ xresources= :\
.Xresources=:\ xinitrc= :\
.bashprofile=:\ .Xdefaults= :\
.zprofile=:\ .Xresources= :\
.bashrc=:\ .bashprofile= :\
.zshrc=:\ .zprofile= :\
.zshenv=:\ .bashrc= :\
.dmrc=:\ .zshrc= :\
.ds_store=:\ .zshenv= :\
.fasd=:\ .dmrc= :\
.gitconfig=:\ .ds_store= :\
.gitignore=:\ .fasd= :\
.jack-settings=:\ .gitconfig= :\
.mime.types=:\ .gitignore= :\
.nvidia-settings-rc=:\ gitignore= :\
.pam_environment=:\ .jack-settings= :\
.profile=:\ .mime.types= :\
.recently-used=:\ .nvidia-settings-rc= :\
.selected_editor=:\ .pam_environment= :\
.vimrc=:\ .profile= :\
.xinputrc=:\ .recently-used= :\
.xserverrc=:\ .selected_editor= :\
config=:\ .vimrc= :\
dropbox=:\ .xinputrc= :\
.xserverrc= :\
config= :\
dropbox= :\
exact-match-case-sensitive-1.txt=X1:\ exact-match-case-sensitive-1.txt=X1:\
exact-match-case-sensitive-2=X2:\ exact-match-case-sensitive-2=X2:\
favicon.ico=:\ favicon.ico= :\
gruntfile.coffee=:\ gruntfile.coffee= :\
gruntfile.js=:\ gruntfile.js= :\
gruntfile.ls=:\ gruntfile.ls= :\
gulpfile.coffee=:\ gulpfile.coffee= :\
gulpfile.js=:\ gulpfile.js= :\
gulpfile.ls=:\ gulpfile.ls= :\
ini=:\ ini= :\
ledger=:\ ledger= :\
license=:\ mimeapps.list= :\
mimeapps.list=:\ node_modules= :\
node_modules=:\ procfile= :\
procfile=:\ react.jsx= :\
react.jsx=:\ user-dirs.dirs= :\
user-dirs.dirs=:\ Makefile= :\
Makefile=:\ TODO= :\
TODO=:\ LICENSE= :\
LICENSE=:\ COPYING= :\
COPYING=:\ *.vim= :\
*.7z=:\ *.dmg= :\
*.ai=:\ *.tlf= :\
*.apk=:\ *.flf= :\
*.avi=:\ *.toml= :\
*.bat=:\ *.m3u= :\
*.bmp=:\ *.pls= :\
*.bz2=:\ *.woff=𝑾:\
*.c=ﭰ:\ *.woff2=𝑾:\
*.c++=ﭱ:\ *.eot=𝑬:\
*.cab=:\ *.yaml= :\
*.cbr=:\ *.yml= :\
*.cbz=:\ *.wad=ﰁ :\
*.cc=ﭰ:\ *.WAD=ﰁ :\
*.clj=:\ *.pk3= :\
*.cljc=:\ *.doc= :\
*.cljs=:\ *.docx= :\
*.coffee=:\ *.webp= :\
*.conf=:\ *.aseprite= :\
*.cp=ﭰ:\ *.bib=﬜ :\
*.cpio=:\ *.7z= :\
*.cpp=ﭱ:\ *.ai= :\
*.css=:\ *.apk= :\
*.cxx=ﭰ:\ *.avi= :\
*.d=:\ *.bat= :\
*.dart=:\ *.bmp= :\
*.db=:\ *.bz2= :\
*.deb=:\ *.c= :\
*.diff=:\ *.c++= :\
*.dump=:\ *.cab= :\
*.edn=:\ *.cbr= :\
*.ejs=:\ *.cbz= :\
*.epub=:\ *.cc= :\
*.erl=:\ *.clj= :\
*.exe=:\ *.cljc= :\
*.f#=:\ *.cljs= :\
*.fish=:\ *.coffee= :\
*.flac=:\ *.conf= :\
*.flv=:\ *.cp= :\
*.fs=:\ *.cpio= :\
*.fsi=:\ *.cpp= :\
*.fsscript=:\ *.css= :\
*.fsx=:\ *.cxx= :\
*.gem=:\ *.d= :\
*.gif=:\ *.dart= :\
*.go=:\ *.db= :\
*.gz=:\ *.deb= :\
*.gzip=:\ *.diff= :\
*.hbs=:\ *.dump= :\
*.hrl=:\ *.edn= :\
*.hs=:\ *.ejs= :\
*.htm=:\ *.epub= :\
*.html=:\ *.erl= :\
*.ico=:\ *.exe= :\
*.ini=:\ *.f#= :\
*.java=:\ *.fish= :\
*.jl=:\ *.flac= :\
*.jpeg=:\ *.flv= :\
*.jpg=:\ *.fs= :\
*.js=:\ *.fsi= :\
*.json=:\ *.fsscript= :\
*.jsx=:\ *.fsx= :\
*.less=:\ *.gem= :\
*.lha=:\ *.gif= :\
*.lhs=:\ *.go= :\
*.log=:\ *.gz= :\
*.lua=:\ *.gzip= :\
*.lzh=:\ *.hbs= :\
*.lzma=:\ *.hrl= :\
*.m4a=:\ *.hs= :\
*.markdown=:\ *.htm= :\
*.md=:\ *.html= :\
*.mkv=:\ *.ico= :\
*.ini= :\
*.java= :\
*.jl= :\
*.jpeg= :\
*.jpg= :\
*.js= :\
*.json= :\
*.jsx= :\
*.less= :\
*.lha= :\
*.lhs= :\
*.log= :\
*.lua= :\
*.lzh= :\
*.lzma= :\
*.m4a= :\
*.markdown= :\
*.md= :\
*.mkv= :\
*.ml=λ:\ *.ml=λ:\
*.mli=λ:\ *.mli=λ:\
*.mov=:\ *.mov= :\
*.mp3=:\ *.mp3= :\
*.mp4=:\ *.mp4= :\
*.mpeg=:\ *.mpeg= :\
*.mpg=:\ *.mpg= :\
*.mustache=:\ *.mustache= :\
*.ogg=:\ *.ogg= :\
*.pdf=:\ *.pdf= :\
*.php=:\ *.php= :\
*.pl=:\ *.pl= :\
*.pm=:\ *.pm= :\
*.png=:\ *.png= :\
*.psb=:\ *.psb= :\
*.psd=:\ *.psd= :\
*.py=:\ *.py= :\
*.pyc=:\ *.pyc= :\
*.pyd=:\ *.pyd= :\
*.pyo=:\ *.pyo= :\
*.rar=:\ *.rar= :\
*.rb=:\ *.rb= :\
*.rc=:\ *.rc= :\
*.rlib=:\ *.rlib= :\
*.rpm=:\ *.rpm= :\
*.rs=:\ *.rs= :\
*.rss=:\ *.rss= :\
*.scala=:\ *.scala= :\
*.scss=:\ *.scss= :\
*.sh=:\ *.sh= :\
*.slim=:\ *.slim= :\
*.sln=:\ *.sln= :\
*.sql=:\ *.sql= :\
*.styl=:\ *.styl= :\
*.suo=:\ *.suo= :\
*.t=:\ *.t= :\
*.tar=:\ *.tar= :\
*.tgz=:\ *.tgz= :\
*.ts=:\ *.ts= :\
*.twig=:\ *.twig= :\
*.vim=:\ *.wav= :\
*.vimrc=:\ *.webm= :\
*.wav=:\ *.xml= :\
*.webm=:\ *.xul= :\
*.xml=:\ *.xz= :\
*.xul=:\ *.zip= :\
*.xz=:\ *.zsh= :\
*.yml=:\ *.kra= :\
*.zip=:\ *.xcf= :\
*.zsh=:\ *.go= :\
*.xcf=:\ *.tex= :\
*.tex=:\ *.txt= :\
*.txt=:\ *.lock= :\
*.lock=:\ *.h= :\
*.h=ﭰ:\ *.o= :\
*.o=:\ *.blend= :\
*.blend=:\ *.1= :\
*.1=:\ *.jar= :\
*.jar=:\ *.desktop= :\
*.desktop=:\ *.mk= :\
*.mk=:\ *.torrent= :\
*.torrent=:\ *.added= :\
*.added=:\ *.pem= :\
*.pem=:\ *.svg= :\
*.svg=:\ *.scd= :\
*.scd=:\ *.theme= :\
*.theme=:\ *.iso= :\
*.iso=:\ *.mid= :\
*.mid=:\ *.url= :\
*.url=:\ *.part= :\
*.part=:\ *.nfo= :\
*.nfo=:\ *.pd= :\
*.pd=:\ *.ttf= :\
*.ttf=:\ *.otf= :\
*.otf=:\ *.bdf= :\
*.bdf=:\ *.pcf= :\
*.pcf=:\
" "

View File

@ -1,309 +0,0 @@
bin
===
Estos son los scripts que uso con mi sistema. En su gran mayoría son para
agregar funcionalidad a mi window manager, BSPWM, pero pueden ser utilizados
fuera del mismo sin demasiado problema.\
Varios tienen a dmenu como su principal dependencia.
## [0x0](./0x0)
Postear texto y archivos a 0x0.st
## [actualizar](./actualizar)
Chequea si hay actualizaciones a paquetes instalados y enviá una notificación.
Basado en vpnd
## [ae](./ae)
Crea un listado del contenido de esta carpeta usando fzf y fd. El archivo
seleccionado es abierto en $EDITOR
## [agrandar](./agrandar)
BSPWM: agrandar nodo en cualquier dirección.
## [bandcamp](./bandcamp)
Solidarizar discos de bandcamp usando youtube-dl
## [brillo](./brillo)
Sube y baja el brillo usando xbacklight
## [cachetear](./cachetear)
Borrar el cache de paquetes viejos
## [cartero](./cartero)
Chequear si hay correo.
## [celu](./celu)
Para conectar el móvil a la computadora
## [cfg](./cfg)
Lista algunos archivos de configuración con fzf y abre el seleccionado en
$EDITOR
## [corte](./corte)
Terminar screencast
## [crear](./crear)
Crear un script en esta carpeta, hacerle chmod +x y abrir en $EDITOR
## [deci](./deci)
Una boludez con lolcat
## [disco](./disco)
Escuchar CDs con mpv
## [disks](./disks)
`du` pero mas cheto
## [dpi](./dpi)
Calculo para tener la cantidad de DPI adecuada en las fonts según la pantalla.
## [equiset](./equiset)
Apagar la pantalla con xset mas temprano o mas tarde según si la batería esta
puesta.
## [escribir](./escribir)
Crear posts para blog usando Hugo, o notas personales.
## [espejo](./espejo)
2 Monitores 1 --Cup-- digo, misma imagen
## [exeflock4](./exeflock4)
i3lock
## [fecha](./fecha)
No uso barra, con notificaciones me arreglo mejor.
## [foco](./foco)
BSPWM: enfocar nodo
## [fp](./fp)
Font preview robado de alguien mas. Requiere fzf y xdo
## [grabar](./grabar)
Grabar screencasts con ffmpeg.
## [hx](./hx)
Dotfile manager
## [leer](./leer)
Dmenu para abrir pdf con zathura
## [lfview](./lfview)
Previewer de LF
## [minve](./minve)
BSPWM: minimizar nodos con dmenu
## [monis](./monis)
Selector de monitores
## [mover](./mover)
BSPWM: mover nodo
## [notifocus](./notifocus)
No uso barra, con notificaciones me arreglo mejor.
## [paclist](./paclist)
Crear lista de paquetes instalados
## [pantallazo](./pantallazo)
Screenshot manager
## [pom](./pom)
Pomodoro timer
## [postear](./postear)
Git push para Hugo
## [powermenu](./powermenu)
Dmenu para power options
## [randbg](./randbg)
Fondo de pantalla random con hsetroot
## [ref](./ref)
Dmenu para cuando dibujo
## [setbg](./setbg)
Fondo de pantalla con hsetroot
## [sxiv-gif](./sxiv-gif)
Ver gifs animados
## [sxiv-rifle](./sxiv-rifle)
Ver todas las imágenes de una carpeta
## [tapa](./tapa)
Muestra album art en una notificación. Usado con ncmpcpp
## [tblock](./tblock)
Transmission blocklist
## [tsa](./tsa)
Transmission add
## [tsb](./tsb)
Parte de tblock
## [tsd](./tsd)
Transmission con notificaciones
## [tv](./tv)
Ver videos con dmenu y mpv
## [txbar](./txbar)
Barra de estado para tmux
## [unimon](./unimon)
Un solo monitor
## [upd](./upd)
Actualizar paquetes, manpages y paclist
## [vent](./vent)
BSPWM: window switcher con dmenu
## [vix](./vix)
Abrir archivo en $EDITOR en otro pane de tmux. Usado con LF
## [wifimenu](./wifimenu)
IWD
## [winclass](./winclass)
xprop
## [wpadd](./wpadd)
wifimenu pero para wpa_supplicant
## [xui](./xui)
FZF para instalar paquetes
## [ytdl](./ytdl)
youtube-dl
## [ytp](./ytp)
youtube-dl para playlists
## [zu](./zu)
Extraer archivos con tar
---
This page is generated automatically by [makebinreadme.sh](https://github.com/ssh0/dotfiles/blob/master/bin/makebinreadme.sh)

View File

@ -8,4 +8,4 @@ curl -s "$1" > "$HTML_TEMP"
titulo=$(grep -Po "<title>.*</title>" "$HTML_TEMP" | sed 's/<[^>]*>//g') titulo=$(grep -Po "<title>.*</title>" "$HTML_TEMP" | sed 's/<[^>]*>//g')
disco=${titulo% | *} disco=${titulo% | *}
grupo=${titulo#* | } grupo=${titulo#* | }
sed -n '/image_/s/.*rel="image_src"\s\+href="\([^"]\+\).*/\1/p' "$HTML_TEMP" | xargs -r curl -s --create-dirs -o "$HOME/snd/Albums/${grupo}/${disco}/cover.jpg" && echo "Listo" || echo "No pude :(" sed -n '/image_/s/.*rel="image_src"\s\+href="\([^"]\+\).*/\1/p' "$HTML_TEMP" | xargs -r curl -s --create-dirs -o "$HOME/snd/Albums/${grupo}/${disco}/cover.jpg" && echo "Listo" || echo "No la encontre :("

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
notify-send -u critical -i ~/img/.icn/control.png "Tres meses han pasado..." "Es hora de limpiar el cache" & notify-send -u critical -i ~/img/.icn/control.png "Limpieza Mensual" "Es hora de vaciar el cache" &
sleep 10s sleep 10s
alacritty --class=flota -e sudo xbps-remove -vO alacritty --class=flota -e sudo xbps-remove -vO

View File

@ -10,9 +10,9 @@ if [ -f "/tmp/blaze-pid" ]; then
sleep 3 sleep 3
kill -9 "$recpid" kill -9 "$recpid"
) >/dev/null 2>&1 & ) >/dev/null 2>&1 &
notify-send -t 2000 "Grabación Terminada" notify-send -t 5000 "Grabación Terminada"
exit exit
else else
notify-send -t 2000 "Grabación inactiva" notify-send -t 5000 "Grabación inactiva"
exit 1 exit 1
fi fi

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
bla="$(printf "" | dmenu -i -l 0)" bla="$(printf "" | rofi -theme dprompt -dmenu -p ">")"
echo " " [ -z "$bla" ] && exit 0
figlet -c -t -f 3d " $bla " | lolcat
echo " " echo " "
alacritty -e figlet -c -t -f 3d " $bla " | lolcat

View File

@ -1,8 +1,5 @@
#!/bin/sh #!/bin/sh
abrir() { ${TERMINAL:-alacritty} --class=flota -e nvim "$@"; }
listar() { ${DMENU:-dmenu} -i -w 125 "$@"; }
diario() { diario() {
cd "$HOME/doc/blog" || exit cd "$HOME/doc/blog" || exit
menuBlog=$(printf "Hoy\\nMañana\\nAyer\\nArchivo" | listar -p " ") menuBlog=$(printf "Hoy\\nMañana\\nAyer\\nArchivo" | listar -p " ")
@ -19,7 +16,8 @@ notas() {
menuNota=$(printf "Nueva\\nArchivo" | listar -p " ") menuNota=$(printf "Nueva\\nArchivo" | listar -p " ")
case $menuNota in case $menuNota in
"Nueva") "Nueva")
nombre="$(dmenu -i -p "Titulo: ")" 2>/dev/null nombre="$(listar -theme dprompt -p "Titulo: ")" 2>/dev/null
[ -z "$nombre" ] && exit 0
abrir "$nombre".md abrir "$nombre".md
;; ;;
"Archivo") archivo ;; "Archivo") archivo ;;
@ -28,7 +26,7 @@ notas() {
articulo() { articulo() {
cd "$HOME/doc/dgy.io" || exit cd "$HOME/doc/dgy.io" || exit
nombre="$(dmenu -i -p "Titulo: ")" 2>/dev/null nombre="$(listar -theme dprompt -p "Titulo: ")" 2>/dev/null
[ -z "$nombre" ] && exit 0 [ -z "$nombre" ] && exit 0
nombreForm="$(echo "$nombre" | tr ' ' '-')" nombreForm="$(echo "$nombre" | tr ' ' '-')"
hugo new articulos/"$nombreForm".md hugo new articulos/"$nombreForm".md
@ -36,8 +34,12 @@ articulo() {
abrir content/articulos/"$nombre".md abrir content/articulos/"$nombre".md
} }
abrir() { ${TERMINAL:-alacritty} --class=flota -e nvim "$@"; }
listar() { rofi -dmenu "$@"; }
archivo() { archivo() {
selarch=$(fd -d 1 -e md | sort -Mr | dmenu -i -w 200 -p " ") selarch=$(fd -d 1 -e md | sort -Mr | listar -p " ")
[ -z "$selarch" ] && exit 0 [ -z "$selarch" ] && exit 0
abrir "$selarch" abrir "$selarch"
} }

View File

@ -4,10 +4,11 @@
# https://github.com/cherrry9/blaze/ # https://github.com/cherrry9/blaze/
# modificado por deadguy # modificado por deadguy
output="$HOME/vid/Screen/$(date '+%y%m%d-%H%M-%S').mp4" output="$HOME/vid/Screen/$(date '+%F_%H_%M').mp4"
m() { ${DMENU:-dmenu} "$@"; } fps=60
m() { rofi -dmenu -i -no-custom "$@"; }
method="$(printf "Pantalla\nSelección" | m -w 200 -p "Grabar")" method="$(printf "Pantalla\nSelección" | m -p " ")"
if [ "$method" = "Pantalla" ]; then if [ "$method" = "Pantalla" ]; then
# get information about the display # get information about the display
@ -17,7 +18,7 @@ if [ "$method" = "Pantalla" ]; then
if [ "$(printf "%b\n" "$monitors" | wc -l)" = 1 ]; then if [ "$(printf "%b\n" "$monitors" | wc -l)" = 1 ]; then
display="$monitors" display="$monitors"
else # if there are other displays ask the user which one to use else # if there are other displays ask the user which one to use
[ ! "$display" ] && display="$(printf "%b" "$monitors" | m -w 200 -p "Pantalla")" [ ! "$display" ] && display="$(printf "%b" "$monitors" | m -p "Pantalla")"
fi fi
set -- $(xrandr -q | grep "$display" | grep -oP '\d*x\d*\+\d*\+\d*' | tr '+x' ' ') set -- $(xrandr -q | grep "$display" | grep -oP '\d*x\d*\+\d*\+\d*' | tr '+x' ' ')
@ -27,7 +28,7 @@ if [ "$method" = "Pantalla" ]; then
offX="$3" offX="$3"
offY="$4" offY="$4"
sonido="$(printf "Sí\nNo" | m -w 200 -p "Audio")" sonido="$(printf "Sí\nNo" | m -p "Audio")"
if [ "$sonido" = "Sí" ]; then if [ "$sonido" = "Sí" ]; then
# find default audio device # find default audio device
@ -40,6 +41,13 @@ if [ "$method" = "Pantalla" ]; then
fi fi
elif [ "$method" = "Selección" ]; then elif [ "$method" = "Selección" ]; then
gif="$(printf "Sí\nNo" | m -p "Gif")"
if [ "$gif" = "Sí" ]; then
output="$HOME/vid/Screen/$(date '+%F_%H_%M').gif"
fps=15
fi
# select an area and make each number a separate word # select an area and make each number a separate word
set -- $(slop -f '%w %h %x %y') set -- $(slop -f '%w %h %x %y')
@ -52,15 +60,15 @@ elif [ "$method" = "Selección" ]; then
[ "$((width % 2))" = 1 ] && width="$((width + 1))" [ "$((width % 2))" = 1 ] && width="$((width + 1))"
[ "$((height % 2))" = 1 ] && height="$((height + 1))" [ "$((height % 2))" = 1 ] && height="$((height + 1))"
else else
printf "Método inválido.\n" notify-send -t 3000 -u critical "Método inválido"
exit 1 exit 1
fi fi
# ask the user if they want to start the recording # ask the user if they want to start the recording
[ ! "$ready" ] && ready="$(printf "Sí\nNo" | m -w 200 -p "Empezar")" [ ! "$ready" ] && ready="$(printf "Sí\nNo" | m -p "Empezar")"
[ "$ready" = "Sí" ] && { [ "$ready" = "Sí" ] && {
notify-send -t 1500 "Grabando" notify-send -t 2000 "Grabando"
ffmpeg \ ffmpeg \
-loglevel error \ -loglevel error \
@ -70,7 +78,7 @@ fi
-f x11grab \ -f x11grab \
-draw_mouse 1 \ -draw_mouse 1 \
-s "${width}x$height" \ -s "${width}x$height" \
-r 60 \ -r "$fps" \
-i "$DISPLAY.0+$offX,$offY" \ -i "$DISPLAY.0+$offX,$offY" \
-pix_fmt yuv420p \ -pix_fmt yuv420p \
-q:v 0 \ -q:v 0 \

View File

@ -23,7 +23,7 @@ hide)
show) show)
[ -z "$file" ] && exit [ -z "$file" ] && exit
sel=$(awk '{print $2,$3}' "$file" | dmenu -i -p ' ') sel=$(awk '{print $2,$3}' "$file" | rofi -dmenu -p ' ')
selectedID=$(awk -v pat="$sel" '$0~pat {print $1}' "$file") selectedID=$(awk -v pat="$sel" '$0~pat {print $1}' "$file")
selectedDesktop=$(awk -v pat="$sel" '$0~pat {print $2}' "$file") selectedDesktop=$(awk -v pat="$sel" '$0~pat {print $2}' "$file")
bspc desktop -f "$selectedDesktop" bspc desktop -f "$selectedDesktop"

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
conectados=$(xrandr -q | awk '/ connected/ {count++} END {print count}') conectados=$(xrandr | awk '( $2 == "connected" ) { count++ } END { print count }')
pri=$(xrandr -q | awk '/ connected/ {print $1}' | sed -sn 1p) pri=$(xrandr | awk '( $2 == "connected" ) {print $1}' | sed -sn 1p)
sec=$(xrandr -q | awk '/ connected/ {print $1}' | sed -sn 2p) sec=$(xrandr | awk '( $2 == "connected" ) {print $1}' | sed -sn 2p)
if [ "$conectados" = 1 ]; then if [ "$conectados" = 1 ]; then
xrandr --output "$pri" --primary --auto --scale 1.0x1.0 "$(xrandr -q | awk '/ disconnected/ {print "--output", $1, "--off"}' | paste -sd ' ')" xrandr --output "$pri" --primary --auto --scale 1.0x1.0 "$(xrandr | awk '( $2 "disconnected" ) {print "--output", $1, "--off"}' | paste -sd ' ')"
elif [ "$conectados" = 2 ]; then elif [ "$conectados" = 2 ]; then
xrandr --output "$pri" --primary --auto --scale 1.0x1.0 --output "$sec" --right-of "$pri" --auto --scale 1.0x1.0 xrandr --output "$pri" --primary --auto --scale 1.0x1.0 --output "$sec" --right-of "$pri" --auto --scale 1.0x1.0
fi fi

View File

@ -1,12 +1,20 @@
#!/bin/sh #!/bin/sh
file=$HOME/img/scrot/"$(date +%H_%M)".png file=$HOME/img/scrot/"$(date +%F_%H_%M)".png
vent=$(bspc query -N -n .focused) vent=$(bspc query -N -n .focused)
case "$(printf "Seleccion\\nVentana\\nPantalla\\nCopiar seleccion\\nCopiar ventana\\nCopiar pantalla" | dmenu -w 200 -p " ")" in case "$(printf "Seleccion\\nVentana\\nPantalla\\nCopiar seleccion\\nCopiar ventana\\nCopiar pantalla" | rofi -dmenu -p " ")" in
"Seleccion") maim -us "$file" ;; "Seleccion") maim -us "$file" ;;
"Ventana") maim -ui "$(printf "%d\n" $vent)" "$file" ;; "Ventana") maim -ui "$(printf "%d\n" $vent)" "$file" ;;
"Pantalla") maim -u "$file" ;; "Pantalla")
conectados=$(xrandr | awk '( $2 == "connected" ) { count++ } END { print count }')
if [ "$conectados" = 1 ]; then
maim -u "$file"
elif [ "$conectados" = 2 ]; then
moni="$(xrandr | awk '( $2 == "connected" ) { print $1 }' | rofi -dmenu -p "Pantalla")"
maim -u "$moni" "$file"
fi
;;
"Copiar seleccion") maim -us | xclip -selection clipboard -t image/png ;; "Copiar seleccion") maim -us | xclip -selection clipboard -t image/png ;;
"Copiar ventana") maim -ui "$(printf "%d\n" "$vent")" | xclip -selection clipboard -t image/png ;; "Copiar ventana") maim -ui "$(printf "%d\n" "$vent")" | xclip -selection clipboard -t image/png ;;
"Copiar pantalla") maim -u | xclip -selection clipboard -t image/png ;; "Copiar pantalla") maim -u | xclip -selection clipboard -t image/png ;;

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
chosen="$(printf "Apagar\\nReiniciar\\nSuspender\\nBloquear\\nSalir" | dmenu -w 150 -i -p "⏻ ")" chosen="$(printf "Apagar\\nReiniciar\\nSuspender\\nBloquear\\nSalir" | rofi -dmenu -p " ")"
case $chosen in case $chosen in
"Apagar") loginctl poweroff;; "Apagar") loginctl poweroff ;;
"Reiniciar") loginctl reboot;; "Reiniciar") loginctl reboot ;;
"Suspender") loginctl suspend;; "Suspender") loginctl suspend ;;
"Bloquear") xset s activate;; "Bloquear") xset s activate ;;
"Salir") loginctl terminate-user "$(id -u "$USER")";; "Salir") loginctl terminate-user "$(id -u "$USER")" ;;
*) exit 0;; *) exit 0 ;;
esac esac

View File

@ -4,7 +4,7 @@ MAINDIR="$HOME/doc/"
PIX="pixels" PIX="pixels"
PET="c64" PET="c64"
MENU="$(printf "Pixels\\nPetscii" | dmenu -w 150 -p " ")" MENU="$(printf "Pixels\\nPetscii" | rofi -dmenu -p " ")"
case $MENU in case $MENU in
'Pixels') sxiv-rifle "$MAINDIR/$PIX/ref" >/dev/null 2>&1 ;; 'Pixels') sxiv-rifle "$MAINDIR/$PIX/ref" >/dev/null 2>&1 ;;
'Petscii') sxiv-rifle "$MAINDIR/$PET/ref" >/dev/null 2>&1;; 'Petscii') sxiv-rifle "$MAINDIR/$PET/ref" >/dev/null 2>&1;;

View File

@ -4,20 +4,19 @@
INRES="1920x1080" INRES="1920x1080"
OUTRES="1280x720" OUTRES="1280x720"
FPS="25" FPS="24"
GOP="$((FPS * 2))" GOP="$((FPS * 2))"
GOPMIN="$FPS" GOPMIN="$FPS"
CBR="2500k" CBR="2500k"
QUALITY="ultrafast" QUALITY="ultrafast"
AUDIO_RATE="44100" AUDIO_RATE="44100"
TEXT_X="(w-text_w)/2" TEXT_X="W-(W+tw)*mod(t,10)/10"
TEXT_Y="5" TEXT_Y="5"
TEXT_BG="1" TEXT_BORDER_COLOR="black"
TEXT_BG_COLOR="black"
TEXT_BORDER="5" TEXT_BORDER="5"
FONT_COLOR="white" FONT_COLOR="white"
FONT_SIZE="24" FONT_SIZE="24"
FONT="$XDG_DATA_HOME/fonts/NikkyouSans-B6aV.ttf" FONT="$XDG_DATA_HOME/fonts/SanFrancisco/SF-Pro-Display-Regular.otf"
TEXT="$HOME/doc/strimtext.txt" TEXT="$HOME/doc/strimtext.txt"
SERVER="live-sao" SERVER="live-sao"
STREAM_KEY="$(pass dgy-twitch)" STREAM_KEY="$(pass dgy-twitch)"
@ -49,5 +48,5 @@ ffmpeg \
-acodec aac \ -acodec aac \
-b:a 160k \ -b:a 160k \
-bufsize $CBR \ -bufsize $CBR \
-vf "drawtext=fontfile='$FONT':textfile='$TEXT':reload=1:x='$TEXT_X':y='$TEXT_Y':fontsize='$FONT_SIZE':fontcolor='$FONT_COLOR':box='$TEXT_BG':boxcolor='$TEXT_BG_COLOR':boxborderw='$TEXT_BORDER'" \ -vf "drawtext=fontfile='$FONT':textfile='$TEXT':reload=1:x='$TEXT_X':y='$TEXT_Y':fontsize='$FONT_SIZE':fontcolor='$FONT_COLOR':bordercolor='$TEXT_BORDER_COLOR':borderw='$TEXT_BORDER'" \
"rtmp://$SERVER.twitch.tv/app/$STREAM_KEY" "rtmp://$SERVER.twitch.tv/app/$STREAM_KEY"

View File

@ -1,32 +1,34 @@
#!/bin/sh #!/bin/sh
tutos(){ m="rofi -dmenu -i -no-custom"
tutodir="$HOME/vid/Learning/"
cd "$tutodir" || exit tutos() {
sel=$(fd -d 1 | dmenu -i -p " ") tutodir="$HOME/vid/Learning/"
[ -z "$sel" ] && exit 0
cd "$tutodir/$sel" || exit cd "$tutodir" || exit
play=$(fd -d 1 | sort -d | dmenu -i -p " ") sel=$(fd -d 1 | $m -p " ")
[ -z "$play" ] && exit 0 [ -z "$sel" ] && exit 0
mpv "$play" cd "$tutodir/$sel" || exit
play=$(fd -d 1 | sort -d | $m -p " ")
[ -z "$play" ] && exit 0
mpv "$play"
} }
tele(){ tele() {
canal="$(dmenu -i -p " ")" 2> /dev/null canal="$(rofi -theme dprompt -dmenu -i -p " ")"
[ -z "$canal" ] && exit 0 [ -z "$canal" ] && exit 0
mpv https://twitch.tv/"$canal" mpv https://twitch.tv/"$canal"
} }
shutub(){ shutub() {
video="$(dmenu -i -p " ")" 2> /dev/null video="$(rofi -theme dprompt -dmenu -i -p " ")" 2>/dev/null
[ -z "$video" ] && exit 0 [ -z "$video" ] && exit 0
mpv https://www.youtube.com/watch?v="$video" mpv https://www.youtube.com/watch?v="$video"
} }
MENU="$(printf "Twitch\\nYoutube\\nTuto" | dmenu -i -w 120 -p "磊 ")" MENU="$(printf "Twitch\\nYoutube\\nTuto" | $m -p " ")"
case $MENU in case $MENU in
'Twitch') tele;; 'Twitch') tele ;;
'Youtube') shutub;; 'Youtube') shutub ;;
'Tuto') tutos;; 'Tuto') tutos ;;
esac esac

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
pri=$(xrandr -q | awk '/ connected/ {print $1}' | sed -sn 1p) pri=$(xrandr | awk '( $2 == "connected" ) { print $1 }' | sed -sn 1p)
xrandr --output "$pri" --primary --auto --scale 1.0x1.0 "$(xrandr -q | awk '/ disconnected/ {print "--output", $1, "--off"}' | paste -sd ' ')" xrandr --output "$pri" --primary --auto --scale 1.0x1.0 "$(xrandr | awk '( $2 == "disconnected" {print "--output", $1, "--off"}' | paste -sd ' ')"
if [ -e /tmp/bspwm_0_0-socket ]; then if [ -e /tmp/bspwm_0_0-socket ]; then
bspc config remove_disabled_monitors bspc config remove_disabled_monitors

View File

@ -14,5 +14,5 @@ done
switch="$switch *) ;;" switch="$switch *) ;;"
selection="$(printf '%s' "$titles" | dmenu -p " " "$@")" selection="$(printf '%s' "$titles" | rofi -dmenu -p " " "$@")"
eval "case \"$selection\" in $switch esac" eval "case \"$selection\" in $switch esac"

View File

@ -11,8 +11,8 @@ add() {
list_all=$(iwctl station "$interface" get-networks | awk 'NR > 4 && $0 !~ /^$/ && $0 !~ />/ { print $1}') list_all=$(iwctl station "$interface" get-networks | awk 'NR > 4 && $0 !~ /^$/ && $0 !~ />/ { print $1}')
list_known=$(iwctl known-networks list | awk 'NR>4 && $0 !~ /^$/ { print $1 }') list_known=$(iwctl known-networks list | awk 'NR>4 && $0 !~ /^$/ { print $1 }')
list=$(comm -23 <(sort -u <<<"$list_all") <(sort -u <<<"$list_known")) list=$(comm -23 <(sort -u <<<"$list_all") <(sort -u <<<"$list_known"))
ssid=$(printf "%s" "$list" | m -i -p "add") || return ssid=$(printf "%s" "$list" | m -i -p "Add") || return
pass=$(m -P) || return pass=$(m -P -p " ") || return
if iwctl --passphrase "$pass" station $interface connect "$ssid"; then if iwctl --passphrase "$pass" station $interface connect "$ssid"; then
notify-send "Agregué $ssid" notify-send "Agregué $ssid"
@ -55,12 +55,12 @@ forget() {
scan() { scan() {
iwctl station $interface scan iwctl station $interface scan
notify-send "Scanneando..." notify-send "Scaneando..."
} }
while true; do while true; do
options="Scanear\nAgregar\nCambiar\nOlvidar" options="Scanear\nAgregar\nCambiar\nOlvidar"
choice=$(printf "%b" "$options" | m -i -w 150 -p " ") || exit choice=$(printf "%b" "$options" | m -i -p " ") || exit
case $choice in case $choice in
"Scanear") scan ;; "Scanear") scan ;;
"Agregar") add ;; "Agregar") add ;;

View File

@ -8,7 +8,7 @@ fi
export VISUAL="$EDITOR" export VISUAL="$EDITOR"
export GIT_EDITOR="$EDITOR" export GIT_EDITOR="$EDITOR"
export TERMINAL="alacritty" export TERMINAL="alacritty"
export BROWSER="${${DISPLAY:-lynx}:+firefox}" export BROWSER="${${DISPLAY:-elinks}:+firefox}"
export COLORTERM="truecolor" export COLORTERM="truecolor"
export OPENER="xdg-open" export OPENER="xdg-open"
export PAGER="less" export PAGER="less"
@ -43,9 +43,8 @@ export HIGHLIGHT_OPTIONS='--out-format="ansi" --style="pablo"'
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
export QT_QPA_PLATFORMTHEME="gtk3" export QT_QPA_PLATFORMTHEME="gtk3"
export LYNX_LSS="${XDG_CONFIG_HOME:-$HOME/.config}/lynx.lss" export LYNX_LSS="${XDG_CONFIG_HOME:-$HOME/.config}/lynx.lss"
export ELINKS_CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}/elinks"
export NNTPSERVER="news.tilde.club" export NNTPSERVER="news.tilde.club"
export DOTBARE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/hexagons"
export DOTBARE_TREE="$HOME"
_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_DATA_HOME:-$HOME/.local/share}/java " _JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_DATA_HOME:-$HOME/.local/share}/java "
_JAVA_OPTIONS+="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true " _JAVA_OPTIONS+="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true "
@ -62,6 +61,8 @@ export FZF_DEFAULT_OPTS="--cycle \
--inline-info \ --inline-info \
--no-bold \ --no-bold \
--ansi \ --ansi \
--pointer='🡢' \
--marker='⦁' \
--preview-window :wrap:noborder" --preview-window :wrap:noborder"
export FZF_DEFAULT_COMMAND="fd -t f -c always -H" export FZF_DEFAULT_COMMAND="fd -t f -c always -H"
@ -86,6 +87,6 @@ export LESSHISTFILE="-"
# }}} # }}}
# Path {{{ # Path {{{
typeset -U PATH path typeset -U PATH path
path=(~/.local/bin ~/.config/yarn/bin ~/.local/share/npm/bin ~/.local/wm/katriawm/src/core ~/.local/wm/nhkd $path[@]) path=(~/.local/bin ~/.config/yarn/bin ~/.local/share/npm/bin $path[@])
# }}} # }}}
# vim:foldmethod=marker:foldlevel=0 # vim:foldmethod=marker:foldlevel=0

View File

@ -1,14 +1,8 @@
ImageMagick ImageMagick
SDL-32bit
alacritty alacritty
alsa-firmware
alsa-lib-devel
alsa-plugins
alsa-plugins-ffmpeg alsa-plugins-ffmpeg
alsa-plugins-jack alsa-plugins-jack
alsa-plugins-pulseaudio alsa-plugins-pulseaudio
alsa-plugins-samplerate
alsa-plugins-speex
alsa-utils alsa-utils
android-udev-rules android-udev-rules
ansible ansible
@ -17,32 +11,39 @@ base-system
bat bat
bc bc
bspwm bspwm
cadence
catgirl catgirl
chrony chrony
cpupower cpupower
crispy-doom
cryptsetup cryptsetup
ctags ctags
delta delta
delve
dfc dfc
dracut dracut
dunst dunst
elinks
elogind elogind
faac
fd fd
ffmpeg ffmpeg
figlet figlet
file-roller file-roller
firefox firefox
fluidsynth
freepats freepats
fzf fzf
gcc gcc
giada
git git
git-extras git-extras
git-libsecret git-libsecret
glibc-32bit glibc-32bit
glow
gnome-ssh-askpass gnome-ssh-askpass
gnupg2 gnupg2
go
golangci-lint
gopls
grub-i386-efi grub-i386-efi
grub-x86_64-efi grub-x86_64-efi
gzdoom gzdoom
@ -54,31 +55,22 @@ hub
i3lock-color i3lock-color
intel-ucode intel-ucode
isync isync
j4-dmenu-desktop iwd
jack-devel jack
jq jq
keychain keychain
klystrack
krita krita
lf lf
libXfixes-devel
libXft-devel
libXinerama-devel
libXrandr-devel
libfluidsynth
libjack-32bit
libopenal libopenal
libressl-devel libressl-devel
librsvg librsvg
librsvg-utils librsvg-utils
libsndfile-devel
libstdc++-32bit libstdc++-32bit
libva-intel-driver libva-intel-driver
lm_sensors lm_sensors
lynx lynx
maim maim
mdadm mdadm
mediainfo
mlocate mlocate
mpc mpc
mpd mpd
@ -91,13 +83,12 @@ neovim
neovim-remote neovim-remote
newsboat newsboat
nfs-utils nfs-utils
nftables nicotine+
nodejs nodejs
notmuch notmuch
noto-fonts-cjk noto-fonts-cjk
noto-fonts-emoji noto-fonts-emoji
noto-fonts-ttf noto-fonts-ttf
openjdk11
p7zip p7zip
pass pass
patch patch
@ -111,10 +102,11 @@ pulsemixer
python3 python3
python3-ansible-lint python3-ansible-lint
python3-pip python3-pip
qjackctl
revive
ripgrep ripgrep
rkhunter rkhunter
rofi rofi
runit-nftables
setxkbmap setxkbmap
shellcheck shellcheck
shfmt shfmt
@ -132,7 +124,6 @@ toilet
transmission transmission
tremc tremc
udevil udevil
ueberzug
unclutter-xfixes unclutter-xfixes
unrar unrar
unzip unzip
@ -164,6 +155,5 @@ zathura
zathura-cb zathura-cb
zathura-pdf-mupdf zathura-pdf-mupdf
zip zip
zita-ajbridge
zsh zsh
zsh-syntax-highlighting zsh-syntax-highlighting