scripts nuevos, scripts modificados. cambios de config que ni me acuerdo porque anduve haciendo otras cosas en medio
This commit is contained in:
parent
d232bd06db
commit
a3ca568c64
|
@ -16,8 +16,8 @@
|
|||
*.color10: #bae67e
|
||||
|
||||
! yellow
|
||||
*.color3: #ffa93b
|
||||
*.color11: #ffd580
|
||||
*.color3: #faa030
|
||||
*.color11: #fccb00
|
||||
|
||||
! blue
|
||||
*.color4: #008bbd
|
||||
|
@ -35,19 +35,11 @@
|
|||
*.color7: #a89984
|
||||
*.color15: #ffffff
|
||||
|
||||
st.font: JetBrains Mono:pixelsize=14:antialias=true:autohint=true;
|
||||
st.fontalt0: JetBrainsMono Nerd Font:pixelsize=14:antialias=true:autohint=true;
|
||||
st.alpha: 0.85
|
||||
st.blinktimeout: 0
|
||||
st.borderpx: 10
|
||||
st.cwscale: 1.05
|
||||
st.chscale: 1.0
|
||||
|
||||
dmenu.font: SFMono Nerd Font:pixelsize=15:antialias=true:autohint=true;
|
||||
dmenu.background: #222222
|
||||
dmenu.foreground: #bbbbbb
|
||||
dmenu.selbackground: #008bbd
|
||||
dmenu.selforeground: #eeeeee
|
||||
dmenu.font: System Charcoal:pixelsize=16:antialias=true:autohint=true;
|
||||
dmenu.background: #d8d8d8
|
||||
dmenu.foreground: #380000
|
||||
dmenu.selbackground: #fccb00
|
||||
dmenu.selforeground: #380000
|
||||
|
||||
Xft.autohint: 0
|
||||
Xft.lcdfilter: lcddefault
|
||||
|
@ -55,10 +47,10 @@ Xft.hintstyle: hintslight
|
|||
Xft.hinting: 1
|
||||
Xft.antialias: 1
|
||||
Xft.rgba: rgb
|
||||
Xft.dpi: 96
|
||||
|
||||
Xcursor.theme: Qogir-cursors
|
||||
Xcursor.theme: HaikuHandRe
|
||||
|
||||
Sxiv.font: cozette:size=14
|
||||
Sxiv.background: black
|
||||
Sxiv.foreground: white
|
||||
Xft.dpi: 112.583
|
||||
|
|
|
@ -4,8 +4,8 @@ window:
|
|||
lines: 25
|
||||
|
||||
padding:
|
||||
x: 14
|
||||
y: 7
|
||||
x: 20
|
||||
y: 10
|
||||
|
||||
decorations: none
|
||||
|
||||
|
@ -27,7 +27,7 @@ font:
|
|||
style: Bold
|
||||
|
||||
# Point size
|
||||
size: 11
|
||||
size: 10
|
||||
|
||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||
|
|
|
@ -38,7 +38,7 @@ get_xrdb() {
|
|||
|
||||
# Colores
|
||||
bspc config normal_border_color "$(get_xrdb color0)"
|
||||
bspc config focused_border_color "$(get_xrdb color12)"
|
||||
bspc config focused_border_color "$(get_xrdb color3)"
|
||||
bspc config active_border_color "$(get_xrdb color8)"
|
||||
bspc config presel_feedback_color "$(get_xrdb color6)"
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/deadguy/.config/gtk-2.0/gtkrc-2.0.mine"
|
||||
gtk-theme-name="Marwaita-Dark"
|
||||
gtk-icon-theme-name="Marwaita-Light"
|
||||
gtk-theme-name="BeOS-R5"
|
||||
gtk-icon-theme-name="BeOS-r5-Icons"
|
||||
gtk-font-name="Noto Sans Display 10"
|
||||
gtk-cursor-theme-name="Qogir-cursors"
|
||||
gtk-cursor-theme-name="HaikuHandRe"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
||||
gtk-cursor-theme-name=Qogir-cursors
|
||||
gtk-theme-name=Marwaita-Dark
|
||||
gtk-icon-theme-name=Marwaita-Light
|
||||
gtk-cursor-theme-name=HaikuHandRe
|
||||
gtk-theme-name=BeOS-R5
|
||||
gtk-icon-theme-name=BeOS-r5-Icons
|
||||
gtk-font-name=Noto Sans Display 10
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
|
|
|
@ -29,12 +29,14 @@ set icons
|
|||
# Custom Functions
|
||||
cmd open ${{
|
||||
case $(file --mime-type $f -bL) in
|
||||
text/*|application/json) $EDITOR "$f";;
|
||||
text/*|application/json) vix "$f";;
|
||||
image/gif) setsid sxiv-gif $f 2>/dev/null & ;;
|
||||
image/*) setsid sxiv-rifle $f 2>/dev/null & ;;
|
||||
audio/*) mpv $f ;;
|
||||
video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;;
|
||||
application/pdf|application/cbz|application/cbr) setsid zathura $fx >/dev/null 2>&1 & ;;
|
||||
image/*) setsid sxiv-rifle $f 2>/dev/null & ;;
|
||||
audio/*) mpv $f ;;
|
||||
video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;;
|
||||
application/x-7z-compressed|application/gz|application/rar|application/tar) atool --list --each -- "$f" | $PAGER ;;
|
||||
application/tar|application/tgz|application/xz|application/zip) atool --list --each -- "$f" | $PAGER ;;
|
||||
application/pdf|application/cbz|application/cbr|application/epub*) setsid zathura $fx >/dev/null 2>&1 & ;;
|
||||
*) for f in $fx; do setsid $OPENER $f > /dev/null 2>&1 & done;;
|
||||
esac
|
||||
}}
|
||||
|
@ -196,12 +198,12 @@ cmd Link %{{
|
|||
# toggle single column view
|
||||
cmd no_preview :{{
|
||||
set nopreview
|
||||
set ratios 1:2
|
||||
set ratios 2
|
||||
set info size:time
|
||||
map ~ yes_preview
|
||||
}}
|
||||
cmd yes_preview :{{
|
||||
set ratios 1:2:2
|
||||
set ratios 2:2
|
||||
set preview
|
||||
set info
|
||||
map ~ no_preview
|
||||
|
@ -228,7 +230,6 @@ map y
|
|||
map c
|
||||
map /
|
||||
map r
|
||||
map e
|
||||
|
||||
cmap <esc> cmd-escape
|
||||
|
||||
|
@ -261,7 +262,6 @@ map pi paste-interactive
|
|||
map pr paste-rsync
|
||||
map o &mimeopen $f
|
||||
map O $mimeopen --ask $f
|
||||
map e $vix $f
|
||||
map cx $chmod +x "$f"
|
||||
map bg $setbg $f
|
||||
map U %du -sh $f
|
||||
|
@ -279,18 +279,17 @@ map a push A<a-b> # after extension
|
|||
map B bulkrename
|
||||
|
||||
map L :Link
|
||||
map f fzf_jump
|
||||
map <tab> $lf -remote "send $id select '$(fzf)'"
|
||||
map / $lf -remote "send $id select \"$(FZF_DEFAULT_COMMAND='fd --max-depth=1' fzf)\""
|
||||
map F $find | lf -remote "send $id select $(fzf --height 50% --reverse --border --margin 5% --inline-info --color border:#005688,bg+:#16252E,fg+:#26c6da,hl+:#ffffff,hl:#26c6da)"
|
||||
map f fzf_jump #goto dir
|
||||
map / $lf -remote "send $id select \"$(FZF_DEFAULT_COMMAND='fd --max-depth=1' fzf)\"" #local dir find
|
||||
map F $find | lf -remote "send $id select $(fzf --reverse --border --margin 2% --inline-info --color border:#005688,bg+:#16252E,fg+:#26c6da,hl+:#ffffff,hl:#26c6da)" #global find
|
||||
|
||||
# Movement
|
||||
map gu cd ~/doc/
|
||||
map gd cd ~/doc/
|
||||
map gE cd /etc
|
||||
map gU cd /usr
|
||||
map gd cd ~/etc
|
||||
map ge cd ~/etc
|
||||
map g. cd ~/.config
|
||||
map gs cd ~/.local/share
|
||||
map gl cd ~/.local/share
|
||||
map gm cd /media
|
||||
map gr cd /mnt/remote
|
||||
map gc cd /mnt/cel
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
"coc.preferences.hoverTarget": "float",
|
||||
"diagnostic.displayByAle": true,
|
||||
"explorer.width": 25,
|
||||
"explorer.icon.expanded": "🞃",
|
||||
"explorer.icon.collapsed": "🞂",
|
||||
"explorer.icon.enableNerdfont": true,
|
||||
"explorer.icon.enableVimDevicons": false,
|
||||
"explorer.previewAction.onHover": false,
|
||||
"explorer.keyMappings": {
|
||||
"<cr>": ["expandable?", "expand", "open"],
|
||||
"v": "open:vsplit",
|
||||
"s": "open:split",
|
||||
"f": "addFile",
|
||||
|
@ -21,6 +20,8 @@
|
|||
"list.source.grep.args": ["--vimgrep", "--hiden", "--no-heading"],
|
||||
"list.source.mru.ignoreGitIgnore": true,
|
||||
"list.previewSplitRight": true,
|
||||
"list.indicator": ">",
|
||||
"list.selectedSignText": " ",
|
||||
"suggest.echodocSupport": true,
|
||||
"suggest.maxPreviewWidth": 100,
|
||||
"session.saveOnVimLeave": false,
|
||||
|
|
|
@ -1 +1 @@
|
|||
autocmd BufRead,BufNewFile *.wiki setlocal filetype=markdown.vimwiki
|
||||
autocmd BufRead,BufNewFile *.wiki setlocal filetype=markdown
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
" Proper indentation for python files
|
||||
set fileformat=unix
|
||||
set softtabstop=4 " Pressing tab during editing operations inserts 4 spaces
|
||||
set shiftwidth=4 " Number of spaces used for each step of an (auto)indent action, e.g. '>>'.
|
||||
setlocal softtabstop=4 " Pressing tab during editing operations inserts 4 spaces
|
||||
setlocal tabstop=4
|
||||
setlocal shiftwidth=4 " Number of spaces used for each step of an (auto)indent action, e.g. '>>'.
|
||||
let python_highlight_all=1 " Enable python highlighting
|
||||
|
||||
augroup PythonColorColumn
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
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,en_us,cjk
|
||||
|
||||
nnoremap <buffer> <F7> [s
|
||||
nnoremap <buffer> <F8> ]s
|
||||
nnoremap <buffer> <F9> z=
|
||||
nnoremap <buffer> <F10> z=1<CR><CR>
|
||||
nnoremap <buffer> <F11> zg
|
|
@ -15,38 +15,44 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
|||
endif
|
||||
" }}}
|
||||
" Options {{{
|
||||
set path+=** " Full tab completion with subfolders and all
|
||||
set inccommand=nosplit " Live preview of substitutes and other similar commands
|
||||
set clipboard^=unnamedplus " system clipboard (requires +clipboard)
|
||||
set number " Line numbers on
|
||||
set noshowmode " Always hide mode
|
||||
set showtabline=2 " Always Show tabline
|
||||
set pumheight=12 " Completion window max size
|
||||
set noswapfile " New buffers will be loaded without creating a swapfile
|
||||
set hidden " Enables to switch between unsaved buffers and keep undo history
|
||||
set lazyredraw " Don't redraw while executing macros (better performance)
|
||||
set showmatch " Show matching brackets when text indicator is over them
|
||||
set matchpairs+=<:> " Add HTML brackets to pair matching
|
||||
set matchtime=1 " Tenths of a second to show the matching paren
|
||||
set cpoptions-=m " showmatch will wait 0.5s or until a char is typed
|
||||
set nojoinspaces " No extra space when joining a line which ends with . ? !
|
||||
set updatetime=300 " Update time used to create swap file or other things
|
||||
set synmaxcol=200 " Don't try to syntax highlight minified files
|
||||
set splitbelow " Splitting a window will put the new window below the current
|
||||
set splitright " Splitting a window will put the new window right of the current
|
||||
set notimeout " Time out on key codes but not mappings.
|
||||
set ignorecase " Ignore case by default
|
||||
set cursorline " Hightlight the screen line of the cursor
|
||||
set scrolloff=5 " Keep this many lines padding when scrolling
|
||||
set shortmess+=aoOIWcs " Shorten messages and don't show intro
|
||||
set foldnestmax=10 " Deepest fold is 10 levels
|
||||
set foldmethod=marker " Markers are used to specify folds.
|
||||
set foldclose=all " Folds closed by default
|
||||
set foldlevelstart=10 " Don't auto open folds after this many levels
|
||||
set selectmode=key " Shift + arrow keys for selecting text
|
||||
set keymodel=startsel " This one complements the one above it
|
||||
set signcolumn=yes " Gutter for diagnostics and git status
|
||||
set modeline " Vim customized by text files commands
|
||||
set inccommand=nosplit
|
||||
set clipboard^=unnamedplus
|
||||
set number
|
||||
set noshowmode
|
||||
set showtabline=2
|
||||
set pumheight=12
|
||||
set noswapfile
|
||||
set hidden
|
||||
set lazyredraw
|
||||
set showmatch
|
||||
set matchpairs+=<:>
|
||||
set matchtime=1
|
||||
set cpoptions-=m
|
||||
set nojoinspaces
|
||||
set updatetime=300
|
||||
set synmaxcol=200
|
||||
set splitbelow
|
||||
set splitright
|
||||
set notimeout
|
||||
set ignorecase
|
||||
set scrolloff=5
|
||||
set sidescroll=5
|
||||
set shortmess+=aoOIWcs
|
||||
set foldnestmax=10
|
||||
set foldmethod=marker
|
||||
set foldclose=all
|
||||
set foldlevelstart=10
|
||||
set selectmode=key
|
||||
set keymodel=startsel
|
||||
set signcolumn=yes
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set softtabstop=2
|
||||
set shiftround
|
||||
set linebreak
|
||||
set breakindent
|
||||
set expandtab
|
||||
set nosmarttab
|
||||
set title
|
||||
set redrawtime=500
|
||||
set ttimeoutlen=10
|
||||
|
@ -59,23 +65,12 @@ set undoreload=10000
|
|||
set formatoptions+=nl
|
||||
set formatoptions-=crot
|
||||
set fillchars+=vert:\
|
||||
set listchars+=precedes:<,extends:>
|
||||
set conceallevel=1
|
||||
set diffopt+=algorithm:histogram,indent-heuristic
|
||||
set pastetoggle=<F12>
|
||||
setlocal tabstop=8 " Number of spaces a <Tab> equals
|
||||
setlocal shiftwidth=4 " Number of spaces to use in auto(indent)
|
||||
setlocal softtabstop=4 " While performing editing operations
|
||||
setlocal shiftround " Round indent to multiple of 'shiftwidth'
|
||||
setlocal breakindent " Keep indentation
|
||||
setlocal expandtab " Use spaces instead of tabs. Mostly for linting reasons
|
||||
setlocal nosmarttab " Don't mix tabs and spaces and do weird stuff
|
||||
match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$'
|
||||
|
||||
if &diff
|
||||
set textwidth=80
|
||||
highlight! link DiffText MatchParen
|
||||
endif
|
||||
|
||||
let mapleader="\<SPACE>"
|
||||
let maplocalleader=','
|
||||
let formatlistpat='^\s*\(\d\+[\]:.)}\t ]\|[*-][\t ]\)\s*'
|
||||
|
@ -145,16 +140,14 @@ if !exists('autocommands_loaded') && has('autocmd')
|
|||
aug skeletons
|
||||
au BufNewFile *.py 0r ~/.config/nvim/templates/py.skeleton
|
||||
au BufNewFile *.sh 0r ~/.config/nvim/templates/sh.skeleton
|
||||
au BufNewFile ~/doc/blog/*.wiki :silent 0r !diario.py %
|
||||
aug END
|
||||
|
||||
aug file_types
|
||||
au FileType typescript,json setlocal formatexpr=CocAction('formatSelected')
|
||||
au FileType json syntax match Comment +\/\/.\+$+
|
||||
au FileType make setlocal noexpandtab
|
||||
au FileType gitcommit,gitrebase,gitconfig set bufhidden=delete
|
||||
au BufNewFile,BufRead requirements*.txt set syntax=python
|
||||
au BufRead,BufNewFile /tmp/neomutt* set filetype mail
|
||||
au BufNewFile ~/doc/blog/*.wiki :silent 0r !diario.py %
|
||||
au BufRead,BufNewFile /tmp/neomutt* set filetype=mail
|
||||
aug END
|
||||
|
||||
aug statusline
|
||||
|
@ -185,7 +178,6 @@ let g:ale_sign_highlight_linenrs = 1
|
|||
let g:ale_sign_error = '✖'
|
||||
let g:ale_sign_warning = '⚠'
|
||||
let g:ale_sign_info = '●'
|
||||
let g:ale_set_balloons = 1
|
||||
let g:ale_virtualtext_cursor = 1
|
||||
let g:ale_loclist_msg_format = '[%linter%] %s% (code)% [%severity%]'
|
||||
let g:ale_set_highlights = 1
|
||||
|
@ -221,7 +213,6 @@ let g:ale_fixers = {
|
|||
\ 'json': ['prettier_standard'],
|
||||
\ 'scss': ['stylelint'],
|
||||
\ 'css': ['stylelint'],
|
||||
\ 'html': ['prettier_standard'],
|
||||
\ 'markdown': ['prettier_standard'],
|
||||
\ 'python': ['autopep8', 'isort', 'yapf']
|
||||
\}
|
||||
|
@ -234,7 +225,7 @@ nmap <silent> <F7> <Plug>(ale_previous_wrap)
|
|||
nmap <silent> <F8> <Plug>(ale_next_wrap)
|
||||
" }}}
|
||||
" CoC {{{
|
||||
let g:coc_global_extensions = ['coc-lists', 'coc-highlight', 'coc-explorer', 'coc-snippets', 'coc-python', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json']
|
||||
let g:coc_global_extensions = ['coc-lists', 'coc-highlight', 'coc-explorer', 'coc-snippets', 'coc-python', 'coc-tsserver', 'coc-css', 'coc-html', 'coc-json', 'coc-emmet']
|
||||
|
||||
" Lists
|
||||
nnoremap <silent><F1> :<C-u>CocList -S --ignore-case helptags<CR>
|
||||
|
@ -258,8 +249,6 @@ function! s:check_back_space() abort
|
|||
return !col || getline('.')[col - 1] =~# '\s'
|
||||
endfunction
|
||||
|
||||
let g:coc_snippet_next = '<tab>'
|
||||
|
||||
" <CR> to confirm completion
|
||||
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<CR>"
|
||||
|
||||
|
@ -303,10 +292,10 @@ let g:vimtex_quickfix_mode = 0
|
|||
" Plugins {{{
|
||||
call plug#begin(stdpath('data') . '/plugged')
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'lervag/vimtex', {'for': 'latex'}
|
||||
Plug 'othree/yajs.vim', {'for': 'javascript'}
|
||||
Plug 'othree/es.next.syntax.vim', {'for': 'javascript'}
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'jpalardy/vim-slime', {'for': ['python', 'foxdot']}
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'tmsvg/pear-tree'
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
@ -338,6 +327,10 @@ highlight! PmenuThumb
|
|||
highlight! link CocErrorSign WarningMsg
|
||||
highlight! link CocWarningSign Number
|
||||
highlight! link CocInfoSign Type
|
||||
|
||||
if &diff
|
||||
highlight! link DiffText MatchParen
|
||||
endif
|
||||
" }}}
|
||||
" Statusline {{{
|
||||
highlight User1 ctermfg=251 ctermbg=NONE guibg=NONE guifg=#c6c6c6
|
||||
|
@ -480,60 +473,6 @@ function! Tabline()
|
|||
endfunction
|
||||
set tabline=%!Tabline()
|
||||
" }}}
|
||||
" REPL {{{
|
||||
let g:slime_paste_file = '$HOME/.cache/slime_paste'
|
||||
let g:slime_target = 'neovim'
|
||||
let g:slime_python_ipython = 1
|
||||
let g:my_active_terminal_job_id = -1
|
||||
|
||||
function! LaunchTerminal() range
|
||||
silent exe "normal! :12split\n"
|
||||
silent exe "normal! :terminal\n"
|
||||
call SetActiveTerminalJobID()
|
||||
endfunction
|
||||
|
||||
function! LaunchSC() range abort
|
||||
silent exe "normal! :tabnew\n"
|
||||
silent exe "normal! :terminal\n"
|
||||
call SetActiveTerminalJobID()
|
||||
call jobsend(g:my_active_terminal_job_id, "scsynth -u 57110\r")
|
||||
sleep 2200ms
|
||||
silent exe "normal! G"
|
||||
silent exe "normal! :vsplit\n"
|
||||
silent exe "normal! :terminal\n"
|
||||
call SetActiveTerminalJobID()
|
||||
call jobsend(g:my_active_terminal_job_id, "sclang -D ~/doc/Algorave/foxdot.scd\r")
|
||||
silent exe "normal! :tabprev\n"
|
||||
silent exe "normal! <cr>\n"
|
||||
sleep 2200ms
|
||||
silent exe "normal! G"
|
||||
endfunction
|
||||
|
||||
function! LaunchIpython() range abort
|
||||
call LaunchTerminal()
|
||||
call jobsend(g:my_active_terminal_job_id, "ipython\r")
|
||||
sleep 2200ms
|
||||
silent exe "normal! G"
|
||||
endfunction
|
||||
|
||||
function! LaunchFoxDot() range abort
|
||||
call LaunchTerminal()
|
||||
call jobsend(g:my_active_terminal_job_id, "ipython\r")
|
||||
sleep 2200ms
|
||||
call jobsend(g:my_active_terminal_job_id, "from FoxDot import *\r")
|
||||
silent exe 'normal! G'
|
||||
endfunction
|
||||
|
||||
function! SetActiveTerminalJobID()
|
||||
let g:my_active_terminal_job_id = b:terminal_job_id
|
||||
echom "Active terminal job ID set to " . g:my_active_terminal_job_id
|
||||
endfunction
|
||||
|
||||
map <silent> <Leader>xi :call LaunchIpython()<CR>
|
||||
map <silent> <Leader>xs :call LaunchSC()<CR>
|
||||
map <silent> <Leader>xd :call LaunchFoxDot()<CR>
|
||||
map <silent> <Leader>xf :set filetype=foxdot<CR>
|
||||
"}}}
|
||||
"Mappings {{{
|
||||
"Normal {{{
|
||||
" Ñ master race
|
||||
|
@ -572,9 +511,9 @@ nnoremap <Bar> gg
|
|||
nnoremap ¿ G
|
||||
|
||||
" Splits
|
||||
nnoremap <silent> <leader>t :call LaunchTerminal()<CR>
|
||||
nnoremap <silent> <leader>t :terminal<CR>
|
||||
nnoremap <silent> <leader>v :vnew<CR>
|
||||
nnoremap <silent> <leader>s :new<CR>
|
||||
nnoremap <silent> <leader>s :new<CR><CR>
|
||||
|
||||
" Quote words under cursor
|
||||
nnoremap <leader>" viW<esc>a"<esc>gvo<esc>i"<esc>gvo<esc>3l
|
||||
|
@ -591,8 +530,8 @@ nnoremap <silent> +<CR> i<CR><ESC>
|
|||
nnoremap <silent> <leader><space> :noh<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
||||
|
||||
" j = gj :: k = gk while preserving numbered jumps ie. 12j or 30k
|
||||
nnoremap <buffer><silent><expr>j v:count ? 'j' : 'gj'
|
||||
nnoremap <buffer><silent><expr>k v:count ? 'k' : 'gk'
|
||||
nnoremap <buffer><silent><expr>j v:count ? (v:count > 5 ? "m'" . v:count : '') . 'j' : 'gj'
|
||||
nnoremap <buffer><silent><expr>k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk'
|
||||
|
||||
" Line movements
|
||||
noremap <silent> <Home> g<Home>
|
||||
|
@ -629,14 +568,6 @@ nnoremap <Leader>sw
|
|||
\ unlet b:sub <Bar>
|
||||
\ endif <CR>
|
||||
|
||||
" Global replace with prompt
|
||||
nnoremap <Leader>cw
|
||||
\ :let b:sub = input('interactive replacement: ') <Bar>
|
||||
\ if b:sub !=? '' <Bar>
|
||||
\ execute "%s/<C-r><C-w>/".b:sub.'/gc' <Bar>
|
||||
\ unlet b:sub <Bar>
|
||||
\ endif <CR>
|
||||
|
||||
" What about the Q
|
||||
nnoremap Q <nop>
|
||||
map q <nop>
|
||||
|
@ -689,7 +620,7 @@ vmap y ygv<Esc>
|
|||
" Delete current visual selection and dump in black hole buffer before pasting
|
||||
" Used when you want to paste over something without it getting copied to
|
||||
" Vim's default buffer
|
||||
vnoremap <leader>p "_dP
|
||||
vnoremap p "_dP
|
||||
|
||||
" global replace
|
||||
vnoremap <Leader>sw "hy
|
||||
|
@ -699,15 +630,6 @@ vnoremap <Leader>sw "hy
|
|||
\ execute '%s/'.b:rep."/".b:sub.'/g' <Bar>
|
||||
\ unlet b:sub b:rep <Bar>
|
||||
\ endif <CR>
|
||||
|
||||
" prompt before each replace
|
||||
vnoremap <Leader>cw "hy
|
||||
\ :let b:sub = input('interactive replacement: ') <Bar>
|
||||
\ if b:sub !=? '' <Bar>
|
||||
\ let b:rep = substitute(getreg('h'), '/', '\\/', 'g') <Bar>
|
||||
\ execute '%s/'.b:rep.'/'.b:sub.'/gc' <Bar>
|
||||
\ unlet b:sub b:rep <Bar>
|
||||
\ endif <CR>
|
||||
"}}}
|
||||
"Terminal {{{
|
||||
" Terminal movement
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euf -o pipefail
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ super + {_,shift} + w
|
|||
bspc node -{c,k}
|
||||
|
||||
super + {_,shift} + f
|
||||
bspc node -t {$(bspc query -N -n -n .tiled >/dev/null && echo floating || echo tiled),fullscreen}
|
||||
bspc node -t {$(bspc query -N -n -n .tiled >/dev/null && echo floating || echo tiled),fullscreen}
|
||||
|
||||
super + {_,shift,ctrl,alt} + {h,j,k,l}
|
||||
{foco,mover,agrandar,bspc node -p} {west,south,north,east}
|
||||
|
||||
super + {1-9,0}
|
||||
bspc desktop -f {1-9,10} && notifocus
|
||||
bspc desktop -f {1-9,10} && notifocus
|
||||
|
||||
super + shift + {1-9,0}
|
||||
bspc node -d {1-9,10}
|
||||
|
@ -34,25 +34,25 @@ super + {_,shift,ctrl} + u
|
|||
|
||||
# Run Applications
|
||||
super + {b,q,m,s,v,n,p,t,g,r}
|
||||
{$BROWSER,powermenu,monis,vent,pavucontrol,notas,pom,tutos,grabar,ref}
|
||||
{$BROWSER,powermenu,monis,vent,pavucontrol,escribir,pom,tv,grabar,ref}
|
||||
|
||||
super + shift + {x,m,g}
|
||||
{tmenux,unimon,corte}
|
||||
{tmenux,unimon,corte}
|
||||
|
||||
super + ctrl + m
|
||||
espejo
|
||||
espejo
|
||||
|
||||
super + {a,x,i,z,c}
|
||||
alacritty {_,--class=flota,--class=flota -e connman-ncurses,--class=multi -e termux,class=flota -e neomutt +'inoremap <C-Space> <Esc>:Snippets<CR>' +Mail +1bw +startinsert"}
|
||||
super + {a,x,i,z}
|
||||
alacritty {_,--class=flota,--class=flota -e connman-ncurses,--class=multi -e termux}
|
||||
|
||||
super + space
|
||||
j4-dmenu-desktop --dmenu="dmenu -i -w 250 -p ' ' " --no-generic
|
||||
j4-dmenu-desktop --dmenu="dmenu -i -w 250 -p ' ' " --no-generic
|
||||
|
||||
super + e
|
||||
dmenu_run -p " "
|
||||
dmenu_run -p " "
|
||||
|
||||
super + {F1,F2,F3,F4}
|
||||
{fecha,tapa,notifocus,touchpad}
|
||||
{fecha,tapa,notifocus,touchpad}
|
||||
|
||||
ctrl + alt + x
|
||||
xkill
|
||||
|
@ -62,7 +62,7 @@ Print
|
|||
|
||||
# Media Keys
|
||||
XF86Audio{Prev,Next,Play}
|
||||
mpc -q {prev,next,toggle && tapa}
|
||||
mpc -q {prev,next,toggle && tapa}
|
||||
|
||||
XF86MonBrightness{Down,Up}
|
||||
brillo {down,up}
|
||||
|
|
|
@ -19,7 +19,7 @@ set -g base-index 1
|
|||
# Panes
|
||||
set -g pane-base-index 1
|
||||
set -g aggressive-resize on
|
||||
set -wg main-pane-width 85
|
||||
set -wg main-pane-width 100
|
||||
|
||||
# Notificaciones
|
||||
set -g monitor-activity on
|
||||
|
@ -36,11 +36,11 @@ set -g status-keys vi
|
|||
set -g pane-border-status bottom
|
||||
set -g pane-border-format '──'
|
||||
set -g automatic-rename-format '#{s/zsh//:pane_current_command}'
|
||||
set -g pane-border-style fg=black
|
||||
set -g pane-active-border-style fg=black
|
||||
set -g pane-border-style fg=colour0,dim
|
||||
set -g pane-active-border-style fg=colour0,dim
|
||||
set -g set-titles on
|
||||
set -g status-interval 60
|
||||
set -g mode-style fg=black,bg=yellow
|
||||
set -g mode-style fg=colour0,bg=yellow
|
||||
set -g message-command-style bg=colour0,fg=colour13
|
||||
set -g message-style 'bg=#151515,fg=white,italics'
|
||||
set -g status-style bg=default,fg=colour7
|
||||
|
|
|
@ -20,8 +20,9 @@ alias \
|
|||
alias \
|
||||
xk='xbps-query' \
|
||||
deps='xbps-query -vRx' \
|
||||
upa='sudo xi' \
|
||||
revdeps='xbps-query -vRX' \
|
||||
xp='xbps-query -v -m > ~/doc/xbpaketes'
|
||||
xp='xpkg -m > ~/doc/xbpaketes'
|
||||
|
||||
# Tmux
|
||||
alias \
|
||||
|
@ -78,7 +79,7 @@ alias \
|
|||
# Colores para pintar este twist
|
||||
alias \
|
||||
diff='diff --color=auto' \
|
||||
cat='bat --color=always --terminal-width=-10' \
|
||||
bat='bat --color=always --terminal-width=-10' \
|
||||
ls='ls -AFpt --color=always --group-directories-first' \
|
||||
grep='grep --color=tty -d skip' \
|
||||
dmesg='dmesg --color=always' \
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
youtube-dl --add-metadata -icx --no-cache-dir --no-call-home --audio-format mp3 --audio-quality 0 --prefer-ffmpeg --no-post-overwrites --geo-bypass -o "/mnt/remote/%(artist)s/%(album)s/%(artist)s - %(album)s - %(track_number)d %(track)s.%(ext)s" "$1"
|
||||
|
||||
echo "Trying to get cover..."
|
||||
echo "Buscando la tapa..."
|
||||
HTML_TEMP=$(mktemp)
|
||||
curl -s "$1" > "$HTML_TEMP"
|
||||
titulo=$(grep -Po "<title>.*</title>" "$HTML_TEMP" | sed 's/<[^>]*>//g')
|
||||
disco=${titulo% | *}
|
||||
grupo=${titulo#* | }
|
||||
sed -n '/image_/s/.*rel="image_src"\s\+href="\([^"]\+\).*/\1/p' "$HTML_TEMP" | xargs -r curl -s --create-dirs -o "/mnt/remote/${grupo}/${disco}/cover.jpg" && echo "Got it" || echo "Failed :("
|
||||
sed -n '/image_/s/.*rel="image_src"\s\+href="\([^"]\+\).*/\1/p' "$HTML_TEMP" | xargs -r curl -s --create-dirs -o "/mnt/remote/${grupo}/${disco}/cover.jpg" && echo "Listo" || echo "No pude :("
|
||||
|
|
|
@ -4,7 +4,7 @@ FOLDER="$HOME/.local/bin"
|
|||
FILE="$FOLDER/$1"
|
||||
|
||||
if [ -f "$FILE" ]; then
|
||||
printf "Already exists. Press ENTER to edit or CTRL+C to cancel"
|
||||
printf "Ya existe. ENTER para editarlo o CTRL+C para cancelar"
|
||||
read -r
|
||||
$EDITOR "$FILE"
|
||||
else
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Showing off during live shows
|
||||
|
||||
bla="$(printf "" | dmenu -i -l 0)"
|
||||
echo " "
|
||||
figlet -c -t -f 3d " $* " | lolcat
|
||||
figlet -c -t -f 3d " $bla " | lolcat
|
||||
echo " "
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Sets the correct DPI for your monitor instead of the generic '100'
|
||||
# ! Make sure there is no DPI entry in your Xresources already!
|
||||
|
||||
file=$XDG_CONFIG_HOME/X11/xresources
|
||||
|
||||
grep 'Xft.dpi' "$file" && xrdb -merge "$file" && exit
|
||||
|
||||
info=$(xrandr | grep ' connected')
|
||||
|
||||
width=$(echo "$info" | rev | cut -d ' ' -f 3 | rev)
|
||||
width_in=$(echo "${width%mm}" | awk '{print $1 * 0.039370}')
|
||||
|
||||
height=$(echo "$info" | rev | cut -d ' ' -f 1 | rev)
|
||||
height_in=$(echo "${height%mm}" | awk '{print $1 * 0.039370}')
|
||||
|
||||
px=$(echo "$info" | cut -d ' ' -f 4)
|
||||
|
||||
width_px=${px%x*}
|
||||
|
||||
height_px=${px#*x}
|
||||
height_px=${height_px%%+*}
|
||||
|
||||
diagonal_px=$(awk -v w="$width_px" -v h="$height_px" \
|
||||
'BEGIN{print sqrt(w*w+h*h)}')
|
||||
|
||||
diagonal_in=$(awk -v w="$width_in" -v h="$height_in" \
|
||||
'BEGIN{print sqrt(w*w + h*h)}')
|
||||
|
||||
dpi=$(awk -v dp="$diagonal_px" -v di="$diagonal_in" \
|
||||
'BEGIN{print dp / di}')
|
||||
|
||||
echo "Xft.dpi: $dpi" >> "$file"
|
||||
xrdb -merge "$file"
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
diario() {
|
||||
cd "$HOME/doc/blog" || exit
|
||||
menublog=$(printf "Hoy\\nMañana\\nAyer\\nArchivo" | dmenu -w 120 -p " ")
|
||||
menublog=$(printf "Hoy\\nMañana\\nAyer\\nArchivo" | dmenu -i -w 120 -p " ")
|
||||
case $menublog in
|
||||
"Hoy") alacritty --class=flota -e nvim "$(date -I)".wiki ;;
|
||||
"Mañana") alacritty --class=flota -e nvim "$(date --date='tomorrow' +%F)".wiki ;;
|
||||
|
@ -13,18 +13,27 @@ diario() {
|
|||
|
||||
notas() {
|
||||
cd "$HOME/doc/notas" || exit
|
||||
menunota=$(printf "Nueva\\nArchivo" | dmenu -w 120 -p " ")
|
||||
menunota=$(printf "Nueva\\nArchivo" | dmenu -i -w 120 -p " ")
|
||||
case $menunota in
|
||||
"Nueva")
|
||||
nombre="$(dmenu -p "Titulo: ")" 2> /dev/null
|
||||
nombre="$(dmenu -i -p "Titulo: ")" 2> /dev/null
|
||||
alacritty --class=flota -e nvim "$nombre".wiki
|
||||
;;
|
||||
"Archivo") archivo ;;
|
||||
esac
|
||||
}
|
||||
|
||||
articulo(){
|
||||
cd "$HOME/doc/articulos" || exit
|
||||
nom="$(dmenu -i -p "Titulo: ")" 2> /dev/null
|
||||
nombre="$(echo "$nom" | tr ' ' '-')"
|
||||
hugo new articulos/"$nombre".md
|
||||
sleep 1
|
||||
alacritty --class=flota -e nvim content/articulos/"$nombre".md
|
||||
}
|
||||
|
||||
archivo(){
|
||||
selarch=$(fd -d 1 -e wiki | sort -Mr | dmenu -w 200 -p " ")
|
||||
selarch=$(fd -d 1 -e wiki | sort -Mr | dmenu -i -w 200 -p " ")
|
||||
if [ "$selarch" = "" ]; then
|
||||
exit 0
|
||||
else
|
||||
|
@ -32,8 +41,9 @@ archivo(){
|
|||
fi
|
||||
}
|
||||
|
||||
MENU="$(printf "Blog\\nNotas" | dmenu -w 100 -p " ")"
|
||||
MENU="$(printf "Articulo\\nBlog\\nNotas" | dmenu -i -w 130 -p " ")"
|
||||
case $MENU in
|
||||
'Blog') diario;;
|
||||
'Articulo') articulo;;
|
||||
'Notas') notas;;
|
||||
esac
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# Dependencies: sxiv, imagemagick, xdotool, fzf
|
||||
|
||||
VERSION=1.0.6
|
||||
VERSION=1.0.7
|
||||
|
||||
# Default values
|
||||
SEARCH_PROMPT="> "
|
||||
|
@ -66,7 +66,7 @@ generate_preview(){
|
|||
|
||||
main(){
|
||||
# Checkig if needed dependencies are installed
|
||||
dependencies=(xdotool sxiv convert fzf)
|
||||
dependencies=(sxiv convert fzf)
|
||||
for dependency in "${dependencies[@]}"; do
|
||||
type -p "$dependency" &>/dev/null || {
|
||||
echo "error: Could not find '${dependency}', is it installed?" >&2
|
||||
|
@ -90,7 +90,6 @@ main(){
|
|||
# This is so that when we open up sxiv, we can change the focus back to
|
||||
# the terminal window, so that the user can search for the fonts without
|
||||
# having to manualy change the focus back to the terminal.
|
||||
xdotool getactivewindow > "$TERMWIN_IDFILE"
|
||||
|
||||
# Flag to run some commands only once in the loop
|
||||
FIRST_RUN=true
|
||||
|
@ -111,12 +110,11 @@ main(){
|
|||
|
||||
# Display the font preview using sxiv
|
||||
#sxiv -g "$SIZE$POSITION" "$FONT_PREVIEW" -N "fontpreview" -b &
|
||||
sxiv -N "fontpreview" -b -p -g "$SIZE$POSITION" "$FONT_PREVIEW" &
|
||||
sxiv -N "fontpreview" -b -g "$SIZE$POSITION" "$FONT_PREVIEW" &
|
||||
|
||||
# Change focus from sxiv, back to the terminal window
|
||||
# so that user can continue to search for fonts without
|
||||
# having to manually change focus back to the terminal window
|
||||
xdotool windowfocus "$(cat "$TERMWIN_IDFILE")"
|
||||
|
||||
# Save the process ID so that we can kill
|
||||
# sxiv when the user exits the script
|
||||
|
@ -127,12 +125,11 @@ main(){
|
|||
if ! pgrep -F "$PIDFILE" >/dev/null 2>&1; then
|
||||
echo "Restart sxiv - You maybe using a obsolete version. " >&2
|
||||
# Display the font preview using sxiv
|
||||
sxiv -g "$SIZE$POSITION" -N "fontpreview" -b "$FONT_PREVIEW" -p &
|
||||
sxiv -g "$SIZE$POSITION" -N "fontpreview" -b "$FONT_PREVIEW" &
|
||||
|
||||
# Change focus from sxiv, back to the terminal window
|
||||
# so that user can continue to search for fonts without
|
||||
# having to manually change focus back to the terminal window
|
||||
xdotool windowfocus "$(cat "$TERMWIN_IDFILE")"
|
||||
|
||||
# Save the process ID so that we can kill
|
||||
# sxiv when the user exits the script
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -C -f -u
|
||||
IFS="$(printf '%b_' '\n')"; IFS="${IFS%_}"
|
||||
|
@ -77,7 +77,6 @@ handle_mime() {
|
|||
text/html) lynx -dump "${FILE_PATH}" ;;
|
||||
text/troff) man ./ "${FILE_PATH}" | col -b ;;
|
||||
text/* | */xml)
|
||||
# Syntax highlight
|
||||
if [ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]; then
|
||||
exit 2
|
||||
fi
|
||||
|
|
|
@ -8,7 +8,7 @@ icon="$XDG_DATA_HOME/icons/Marwaita-Dark/24x24/categories/preferences-system-win
|
|||
case $1 in
|
||||
hide)
|
||||
if [ "$lines" -ge 15 ]; then
|
||||
notify-send -i "$icon" "15 windows are already hidden" "You should consider closing some before hiding even more."
|
||||
notify-send -i "$icon" "15 ventanas minimizadas" "Mejor cerrar algunas antes de esconder todavia mas"
|
||||
else
|
||||
focusedNode=$(bspc query -N -n .focused)
|
||||
focusedID=$(bspc query -D -d --names)
|
||||
|
@ -17,7 +17,7 @@ hide)
|
|||
echo "$focusedNode $focusedID $focusedName" >> "$file"
|
||||
xdo hide "$focusedNode"
|
||||
notiflines="$((lines +1))"
|
||||
notify-send -i "$icon" "${notiflines} hidden windows." "$focusedName"
|
||||
notify-send -i "$icon" "${notiflines} ventanas escondidas." "$focusedName"
|
||||
fi
|
||||
;;
|
||||
dmenu)
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
maim -u ~/img/scrot/"$(date +%s)".png && notify-send -u low -t 3000 -i ~/img/.icn/camera.png 'Screen captured'
|
||||
file=$HOME/img/scrot/"$(date +%s)".png
|
||||
vent=$(bspc query -N -n .focused)
|
||||
|
||||
case "$(printf "Seleccion\\nVentana\\nPantalla\\nCopiar seleccion\\nCopiar ventana\\nCopiar pantalla" | dmenu -w 200 -p " ")" in
|
||||
"Seleccion") maim -us "$file" ;;
|
||||
"Ventana") maim -ui "$(printf "%d\n" $vent)" "$file" ;;
|
||||
"Pantalla") maim -u "$file" ;;
|
||||
"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 pantalla") maim -u | xclip -selection clipboard -t image/png ;;
|
||||
esac
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
chosen="$(printf "Shutdown\\nReboot\\nSuspend\\nLock\\nLog out" | dmenu -w 120 -i -p "⏻ ")"
|
||||
chosen="$(printf "Apagar\\nReiniciar\\nSuspender\\nCerrar\\nSalir" | dmenu -w 150 -i -p "⏻ ")"
|
||||
case $chosen in
|
||||
"Shutdown") loginctl poweroff;;
|
||||
"Reboot") loginctl reboot;;
|
||||
"Suspend") loginctl suspend;;
|
||||
"Lock") xset s activate;;
|
||||
"Log out") loginctl terminate-user "$(id -u "$USER")";;
|
||||
"Apagar") loginctl poweroff;;
|
||||
"Reiniciar") loginctl reboot;;
|
||||
"Suspender") loginctl suspend;;
|
||||
"Cerrar") xset s activate;;
|
||||
"Salir") loginctl terminate-user "$(id -u "$USER")";;
|
||||
*) exit 0;;
|
||||
esac
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
alacritty --class=multi -e termux
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
MAINDIR="$HOME/vid/Learning/"
|
||||
|
||||
cd "$MAINDIR" || exit
|
||||
SEL=$(fd -d 1 'ztm' | dmenu -p " ")
|
||||
cd "$MAINDIR/$SEL" || exit
|
||||
PLAY=$(fd -d 1 | sort -d | dmenu -p " ")
|
||||
if [ "$PLAY" = "" ]; then
|
||||
exit 0
|
||||
else
|
||||
mpv "$PLAY"
|
||||
fi
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
tutos(){
|
||||
tutodir="$HOME/vid/Learning/"
|
||||
|
||||
cd "$tutodir" || exit
|
||||
sel=$(fd -d 1 'ztm' | dmenu -i -p " ")
|
||||
if [ "$sel" = "" ]; then
|
||||
exit 0
|
||||
else
|
||||
cd "$tutodir/$sel" || exit
|
||||
play=$(fd -d 1 | sort -d | dmenu -i -p " ")
|
||||
if [ "$play" = "" ]; then
|
||||
exit 0
|
||||
else
|
||||
mpv "$play"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
tele(){
|
||||
canal="$(dmenu -i -p " ")" 2> /dev/null
|
||||
if [ "$canal" = "" ]; then
|
||||
exit 0
|
||||
else
|
||||
mpv https://twitch.tv/"$canal"
|
||||
fi
|
||||
}
|
||||
|
||||
MENU="$(printf "Twitch\\nTuto" | dmenu -i -w 120 -p "磊 ")"
|
||||
case $MENU in
|
||||
'Twitch') tele;;
|
||||
'Tuto') tutos;;
|
||||
esac
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
tmux split-window -v "$EDITOR \"$*\"" &
|
2
.xinitrc
2
.xinitrc
|
@ -2,7 +2,7 @@
|
|||
[ -d /etc/X11/xinit/xinitrc.d ] && \
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f"; done && unset f
|
||||
|
||||
xrdb -merge "$XDG_CONFIG_HOME"/X11/xresources
|
||||
dpi &
|
||||
setxkbmap -option caps:escape
|
||||
xsetroot -cursor_name left_ptr &
|
||||
randbg &
|
||||
|
|
5
.zshenv
5
.zshenv
|
@ -27,7 +27,7 @@ export BAT_STYLE="numbers,changes,header"
|
|||
export BAT_THEME="TwoDark"
|
||||
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export QT_QPA_PLATFORMTHEME="gtk2"
|
||||
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
@ -41,7 +41,6 @@ export SSH_ASKPASS="/bin/gnome-ssh-askpass"
|
|||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
||||
eval $(keychain --dir ~/.local/share/keychain --quiet --eval --noask --agents ssh,gpg id_rsa)
|
||||
|
||||
# export MAILCAPS="$XDG_DATA_HOME/mailcap"
|
||||
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config"
|
||||
export INPUTRC="$XDG_CONFIG_HOME/inputrc"
|
||||
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
|
||||
|
@ -52,6 +51,8 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
|||
export PYLINTHOME="$XDG_CACHE_HOME/pylint"
|
||||
export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history"
|
||||
export RANDFILE="$XDG_DATA_HOME/rnd"
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
export HISTFILE="$XDG_DATA_HOME/bash/history"
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
||||
eval "$(sed 's/^[^#].*/export &/g;t;d' ${DIR:-$XDG_CONFIG_HOME}/user-dirs.dirs)"
|
||||
# }}}
|
||||
|
|
337
doc/xbpaketes
337
doc/xbpaketes
|
@ -1,167 +1,170 @@
|
|||
ImageMagick-7.0.10.14_1
|
||||
adwaita-qt-1.1.1_1
|
||||
alacritty-0.4.2_3
|
||||
alsa-firmware-1.2.1_1
|
||||
alsa-plugins-1.2.2_1
|
||||
alsa-plugins-ffmpeg-1.2.2_1
|
||||
alsa-plugins-jack-1.2.2_1
|
||||
alsa-plugins-pulseaudio-1.2.2_1
|
||||
alsa-plugins-samplerate-1.2.2_1
|
||||
alsa-plugins-speex-1.2.2_1
|
||||
alsa-utils-1.2.2_1
|
||||
atool-0.39.0_5
|
||||
audacity-2.4.1_1
|
||||
autopep8-1.5.2_1
|
||||
base-system-0.113_2
|
||||
bat-0.15.3_1
|
||||
bc-1.07.1_5
|
||||
bspwm-0.9.9_2
|
||||
cadence-0.9.1_1
|
||||
cantarell-fonts-0.201_1
|
||||
chrony-3.5_2
|
||||
connman-1.38_2
|
||||
connman-ncurses-1.0_3
|
||||
cryptsetup-2.3.2_1
|
||||
ctags-5.8_7
|
||||
delta-0.0.17_1
|
||||
dfc-3.1.1_1
|
||||
dunst-1.4.1_1
|
||||
elogind-243.4_2
|
||||
faac-1.30_1
|
||||
fd-8.1.1_1
|
||||
fdk-aac-devel-2.0.1_1
|
||||
fdkaac-1.0.0_2
|
||||
ffmpeg-4.2.3_1
|
||||
figlet-2.2.5_6
|
||||
firefox-76.0_2
|
||||
fzf-0.21.1_1
|
||||
gallery-dl-1.13.4_1
|
||||
gcc-9.3.0_5
|
||||
git-2.26.2_1
|
||||
git-extras-5.1.0_1
|
||||
git-libsecret-2.26.2_1
|
||||
gnome-ssh-askpass-8.2p1_1
|
||||
gnupg2-2.2.20_1
|
||||
grub-i386-efi-2.04_3
|
||||
grub-x86_64-efi-2.04_3
|
||||
haveged-1.9.8_1
|
||||
highlight-3.57_1
|
||||
hsetroot-1.0.5_1
|
||||
htop-2.2.0_1
|
||||
hub-2.14.2_1
|
||||
i3lock-color-2.12_2
|
||||
intel-ucode-20200508_1
|
||||
isync-1.3.1_2
|
||||
jack-devel-1.9.14_1
|
||||
jq-1.6_1
|
||||
keychain-2.8.5_1
|
||||
krita-4.2.9_2
|
||||
lf-r14_1
|
||||
libX11-devel-1.6.9_1
|
||||
libXft-devel-2.3.3_1
|
||||
libXinerama-devel-1.1.4_1
|
||||
libressl-devel-3.0.2_2
|
||||
librsvg-2.48.4_1
|
||||
linux5.6-5.6.14_1
|
||||
lynx-2.8.9.1_3
|
||||
maim-5.6.3_1
|
||||
mdadm-4.1_2
|
||||
mediainfo-20.03_1
|
||||
mlocate-0.26_4
|
||||
mmutils-1.4.1_1
|
||||
mpc-0.33_1
|
||||
mpd-0.21.23_1
|
||||
mps-youtube-0.2.8_3
|
||||
mpv-0.32.0_2
|
||||
msmtp-1.8.10_1
|
||||
ncmpcpp-0.8.2_9
|
||||
ncurses-term-6.2_2
|
||||
neomutt-20200501_1
|
||||
neovim-0.4.3_1
|
||||
neovim-remote-2.4.0_1
|
||||
newsboat-2.19_1
|
||||
nfs-utils-2.4.3_2
|
||||
nmap-7.80_2
|
||||
nodejs-13.2.0_2
|
||||
noto-fonts-cjk-20190416_1
|
||||
noto-fonts-ttf-20190926_1
|
||||
obs-25.0.8_1
|
||||
p7zip-16.02_5
|
||||
pass-1.7.3_2
|
||||
patch-2.7.6_4
|
||||
pavucontrol-4.0_1
|
||||
perl-File-MimeInfo-0.29_1
|
||||
perl-HTML-Parser-3.72_8
|
||||
pinentry-gtk-1.1.0_6
|
||||
pinentry-tty-1.1.0_6
|
||||
pkg-config-0.29.2_2
|
||||
polkit-0.116_3
|
||||
powertop-2.12_1
|
||||
pulseaudio-13.0_1
|
||||
pulsemixer-1.5.1_1
|
||||
pylint-2.4.4_2
|
||||
python3-3.8.3_1
|
||||
python3-BeautifulSoup4-4.8.2_1
|
||||
python3-ipython-7.13.0_1
|
||||
python3-isort-4.3.21_2
|
||||
python3-language-server-0.31.8_1
|
||||
python3-lxml-4.4.3_1
|
||||
python3-mccabe-0.6.1_3
|
||||
python3-mypy-0.761_1
|
||||
python3-pip-20.0.2_1
|
||||
python3-pycodestyle-2.6.0_1
|
||||
python3-pyflakes-2.2.0_1
|
||||
python3-vint-0.3.19_3
|
||||
python3-yapf-0.29.0_1
|
||||
qt5ct-0.41_1
|
||||
sc3-plugins-3.10.0_2
|
||||
setxkbmap-1.3.2_1
|
||||
shellcheck-0.7.1_2
|
||||
simple-mtpfs-0.3.0_3
|
||||
snooze-0.4_1
|
||||
socklog-void-20200115_1
|
||||
supercollider-3.10.4_1
|
||||
sxhkd-0.6.1_1
|
||||
sxiv-26_1
|
||||
texlive-bin-2020_1
|
||||
tmux-3.1b_1
|
||||
toilet-0.3_2
|
||||
transmission-3.00_1
|
||||
tremc-0.9.1_1
|
||||
tuir-1.29.0_1
|
||||
udevil-0.4.4_4
|
||||
unclutter-xfixes-1.5_1
|
||||
unrar-5.9.2_2
|
||||
unzip-6.0_14
|
||||
vice-3.4_1
|
||||
void-repo-nonfree-9_4
|
||||
vsv-1.3.4_1
|
||||
weechat-2.8_2
|
||||
weechat-python-2.8_2
|
||||
xbacklight-1.2.3_1
|
||||
xclip-0.13_1
|
||||
xcompmgr-1.1.8_1
|
||||
xdo-0.5.7_1
|
||||
xev-1.2.3_2
|
||||
xf86-video-intel-2.99.917.899_2
|
||||
xinput-1.6.3_1
|
||||
xkill-1.0.5_1
|
||||
xorg-minimal-1.2_2
|
||||
xprop-1.2.4_1
|
||||
xrandr-1.5.1_1
|
||||
xrdb-1.2.0_2
|
||||
xset-1.2.4_1
|
||||
xsetroot-1.1.2_1
|
||||
xss-lock-0.3.0_2
|
||||
xtools-0.59_1
|
||||
xz-5.2.5_1
|
||||
yarn-1.22.4_1
|
||||
youtube-dl-2020.05.08_1
|
||||
zathura-0.4.5_2
|
||||
zathura-cb-0.1.8_2
|
||||
zathura-pdf-mupdf-0.3.5_2
|
||||
zip-3.0_6
|
||||
zita-ajbridge-0.8.4_1
|
||||
zsh-5.8_1
|
||||
zsh-completions-0.31.0_1
|
||||
zsh-syntax-highlighting-0.7.1_1
|
||||
ImageMagick
|
||||
adwaita-qt
|
||||
alacritty
|
||||
alsa-firmware
|
||||
alsa-lib-devel
|
||||
alsa-plugins
|
||||
alsa-plugins-ffmpeg
|
||||
alsa-plugins-jack
|
||||
alsa-plugins-pulseaudio
|
||||
alsa-plugins-samplerate
|
||||
alsa-plugins-speex
|
||||
alsa-utils
|
||||
atool
|
||||
audacity
|
||||
autopep8
|
||||
base-system
|
||||
bat
|
||||
bc
|
||||
bspwm
|
||||
cadence
|
||||
cantarell-fonts
|
||||
chrony
|
||||
connman
|
||||
connman-ncurses
|
||||
cryptsetup
|
||||
ctags
|
||||
delta
|
||||
dfc
|
||||
dunst
|
||||
elogind
|
||||
faac
|
||||
fd
|
||||
fdk-aac-devel
|
||||
fdkaac
|
||||
ffmpeg
|
||||
figlet
|
||||
firefox
|
||||
font-cozette
|
||||
font-iosevka
|
||||
fzf
|
||||
gallery-dl
|
||||
gcc
|
||||
git
|
||||
git-extras
|
||||
git-libsecret
|
||||
gnome-ssh-askpass
|
||||
gnupg2
|
||||
grub-i386-efi
|
||||
grub-x86_64-efi
|
||||
haveged
|
||||
highlight
|
||||
hsetroot
|
||||
htop
|
||||
hub
|
||||
i3lock-color
|
||||
intel-ucode
|
||||
isync
|
||||
j4-dmenu-desktop
|
||||
jack-devel
|
||||
jq
|
||||
keychain
|
||||
klystrack
|
||||
krita
|
||||
lf
|
||||
libressl-devel
|
||||
librsvg
|
||||
linux5.6
|
||||
lynx
|
||||
maim
|
||||
mblaze
|
||||
mdadm
|
||||
mediainfo
|
||||
mlocate
|
||||
mmutils
|
||||
mpc
|
||||
mpd
|
||||
mps-youtube
|
||||
mpv
|
||||
msmtp
|
||||
ncmpcpp
|
||||
ncurses-term
|
||||
neomutt
|
||||
neovim
|
||||
neovim-remote
|
||||
newsboat
|
||||
nfs-utils
|
||||
nmap
|
||||
nodejs
|
||||
notmuch
|
||||
noto-fonts-cjk
|
||||
noto-fonts-ttf
|
||||
obs
|
||||
p7zip
|
||||
pass
|
||||
patch
|
||||
pavucontrol
|
||||
perl-File-MimeInfo
|
||||
pinentry-gtk
|
||||
pinentry-tty
|
||||
pkg-config
|
||||
polkit
|
||||
powertop
|
||||
pulseaudio
|
||||
pulsemixer
|
||||
pylint
|
||||
python3
|
||||
python3-BeautifulSoup4
|
||||
python3-ipython
|
||||
python3-isort
|
||||
python3-language-server
|
||||
python3-lxml
|
||||
python3-mccabe
|
||||
python3-mypy
|
||||
python3-pip
|
||||
python3-pycodestyle
|
||||
python3-pyflakes
|
||||
python3-vint
|
||||
python3-yapf
|
||||
qt5ct
|
||||
schismtracker
|
||||
setxkbmap
|
||||
shellcheck
|
||||
simple-mtpfs
|
||||
snooze
|
||||
socklog-void
|
||||
sxhkd
|
||||
sxiv
|
||||
texlive-bin
|
||||
tmux
|
||||
toilet
|
||||
transmission
|
||||
tremc
|
||||
tuir
|
||||
udevil
|
||||
unclutter-xfixes
|
||||
unrar
|
||||
unzip
|
||||
vice
|
||||
void-repo-nonfree
|
||||
vsv
|
||||
weechat
|
||||
weechat-python
|
||||
xbacklight
|
||||
xclip
|
||||
xcompmgr
|
||||
xdg-utils
|
||||
xdo
|
||||
xev
|
||||
xf86-video-intel
|
||||
xinput
|
||||
xkill
|
||||
xorg-minimal
|
||||
xprop
|
||||
xrandr
|
||||
xrdb
|
||||
xset
|
||||
xsetroot
|
||||
xss-lock
|
||||
xtools
|
||||
xz
|
||||
yarn
|
||||
youtube-dl
|
||||
zathura
|
||||
zathura-cb
|
||||
zathura-pdf-mupdf
|
||||
zip
|
||||
zita-ajbridge
|
||||
zsh
|
||||
zsh-completions
|
||||
zsh-syntax-highlighting
|
||||
|
|
Reference in New Issue