las transparencias estan de moda otra vez, ponele. corregir el stack de js en nvim. las tipicas giladitas de siempre
This commit is contained in:
parent
252f883659
commit
d37c0adf75
|
@ -1,3 +1,6 @@
|
|||
# Thank you code_nomad: http://9m.no/ꪯ鵞
|
||||
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
|
||||
|
||||
# Backend
|
||||
# Backend to use: "xrender" or "glx".
|
||||
# GLX backend is typically much faster but depends on a sane driver.
|
||||
|
@ -10,7 +13,6 @@ glx-no-stencil = true;
|
|||
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
||||
# but a 20% increase when only 1/4 is.
|
||||
# My tests on nouveau show terrible slowdown.
|
||||
# Useful with --glx-swap-method, as well.
|
||||
glx-copy-from-front = false;
|
||||
|
||||
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
||||
|
@ -22,7 +24,7 @@ glx-copy-from-front = false;
|
|||
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
||||
# Recommended if it works.
|
||||
glx-no-rebind-pixmap = true;
|
||||
# glx-no-rebind-pixmap = true;
|
||||
|
||||
# GLX backend: GLX buffer swap method we assume.
|
||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
||||
|
@ -34,7 +36,7 @@ glx-no-rebind-pixmap = true;
|
|||
# Useless with --glx-use-copysubbuffermesa.
|
||||
# Partially breaks --resize-damage.
|
||||
# Defaults to undefined.
|
||||
glx-swap-method = "6";
|
||||
#glx-swap-method = "undefined";
|
||||
|
||||
# Shadows
|
||||
# Enabled client-side shadows on windows.
|
||||
|
@ -47,41 +49,78 @@ no-dock-shadow = true;
|
|||
# The blur radius for shadows. (default 12)
|
||||
shadow-radius = 3;
|
||||
# The left offset for shadows. (default -15)
|
||||
shadow-offset-x = 3;
|
||||
shadow-offset-x = -2.5;
|
||||
# The top offset for shadows. (default -15)
|
||||
shadow-offset-y = 3;
|
||||
shadow-offset-y = -2.5;
|
||||
# The translucency for shadows. (default .75)
|
||||
shadow-opacity = 1;
|
||||
shadow-opacity = 0.65;
|
||||
|
||||
# Set if you want different colour shadows
|
||||
# shadow-red = 0.0;
|
||||
# shadow-green = 0.0;
|
||||
# shadow-blue = 0.0;
|
||||
|
||||
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
|
||||
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
||||
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM at tab switcher.
|
||||
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
||||
shadow-exclude = [
|
||||
"! name~=''",
|
||||
"!focused",
|
||||
"fullscreen",
|
||||
"name *?= 'Notification'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Bspwm'",
|
||||
"class_g = 'Rofi'",
|
||||
"class_g = 'VirtualBox' && name = 'VirtualBox' && bounding_shaped && (_NET_WM_STATE@[0]:a = '_NET_WM_STATE_MAXIMIZED_VERT' && _NET_WM_STATE@[1]:a = '_NET_WM_STATE_MAXIMIZED_HORZ' || _NET_WM_STATE@[0]:a = '_NET_WM_STATE_MAXIMIZED_HORZ' && _NET_WM_STATE@[1]:a = '_NET_WM_STATE_MAXIMIZED_VERT') && _NET_WM_WINDOW_TYPE@[0]:a = '_KDE_NET_WM_WINDOW_TYPE_OVERRIDE'",
|
||||
"class_g = 'bounding_shaped && !rounded_corners'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"n:w:Firefox",
|
||||
"! name~=''",
|
||||
"class_g ?= 'Xfce4-power-manager'",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'"
|
||||
"name = 'Notification'",
|
||||
"name = 'Plank'",
|
||||
"name = 'Docky'",
|
||||
"name = 'Kupfer'",
|
||||
"name = 'xfce4-notifyd'",
|
||||
"name *= 'VLC'",
|
||||
"name *= 'compton'",
|
||||
"name *= 'Chromium'",
|
||||
"name *= 'Chrome'",
|
||||
"class_g = 'Firefox' && argb",
|
||||
"class_g = 'Rofi'",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g ?= 'Cairo-dock'",
|
||||
"class_g ?= 'Xfce4-notifyd'",
|
||||
"class_g ?= 'Xfce4-power-manager'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
||||
shadow-ignore-shaped = true;
|
||||
|
||||
#################################
|
||||
#
|
||||
# Opacity
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 0.8;
|
||||
active-opacity = 1.0;
|
||||
frame-opacity = 0.8;
|
||||
#
|
||||
#################################
|
||||
|
||||
inactive-opacity = 50;
|
||||
active-opacity = 50;
|
||||
frame-opacity = 50;
|
||||
inactive-opacity-override = true;
|
||||
alpha-step = 0.06;
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0)
|
||||
inactive-dim = 0.2;
|
||||
# Do not let dimness adjust based on window opacity.
|
||||
# inactive-dim-fixed = true;
|
||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||
blur-background = true;
|
||||
# Blur background of opaque windows with transparent frames as well.
|
||||
blur-background-frame = true;
|
||||
# Do not let blur radius adjust based on window opacity.
|
||||
blur-background-fixed = false;
|
||||
blur-kern = "3x3box";
|
||||
# blur-method = "kawase";
|
||||
# blur-strength = 8;
|
||||
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
];
|
||||
|
||||
opacity-rule = [
|
||||
"35:class_g = 'Bspwm' && class_i = 'presel_feedback'",
|
||||
|
@ -102,36 +141,14 @@ opacity-exclude = [
|
|||
"class_g = 'maim'",
|
||||
];
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0)
|
||||
inactive-dim = 0.2;
|
||||
# Do not let dimness adjust based on window opacity.
|
||||
# inactive-dim-fixed = true;
|
||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||
blur-background = true;
|
||||
blur-kern = "3x3box";
|
||||
#blur-method = "kawase";
|
||||
#blur-strength = 8;
|
||||
# Blur background of opaque windows with transparent frames as well.
|
||||
blur-background-frame = true;
|
||||
# Do not let blur radius adjust based on window opacity.
|
||||
# blur-background-fixed = false;
|
||||
#transition-length = 120;
|
||||
|
||||
blur-background-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'maim'",
|
||||
# "class_g = 'Rofi'"
|
||||
];
|
||||
|
||||
focus-exclude = [
|
||||
"_NET_WM_NAME@:s = 'rofi'",
|
||||
# "class_g = 'Rofi'",
|
||||
"class_g = 'mpv'",
|
||||
"name *? = 'i3lock'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
|
||||
#################################
|
||||
#
|
||||
# Fading
|
||||
#
|
||||
#################################
|
||||
|
||||
# Fade windows during opacity changes.
|
||||
fading = true;
|
||||
# The time between steps in a fade in milliseconds. (default 10).
|
||||
|
@ -141,12 +158,17 @@ fade-in-step = 0.03;
|
|||
# Opacity change between steps while fading out. (default 0.03).
|
||||
fade-out-step = 0.03;
|
||||
# Fade windows in/out when opening/closing
|
||||
no-fading-openclose = false;
|
||||
# no-fading-openclose = true;
|
||||
|
||||
# Specify a list of conditions of windows that should not be faded.
|
||||
fade-exclude = [ ];
|
||||
|
||||
#################################
|
||||
#
|
||||
# Other
|
||||
#
|
||||
#################################
|
||||
|
||||
# Try to detect WM windows and mark them as active.
|
||||
mark-wmwin-focused = true;
|
||||
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
||||
|
@ -166,30 +188,24 @@ detect-client-opacity = true;
|
|||
# If not specified or 0, compton will try detecting this with X RandR extension.
|
||||
refresh-rate = 0;
|
||||
|
||||
# Set VSync method. VSync methods currently available:
|
||||
# none: No VSync
|
||||
# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
|
||||
# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
|
||||
# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
|
||||
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
|
||||
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
|
||||
# (Note some VSync methods may not be enabled at compile time.)
|
||||
vsync = "opengl-swc";
|
||||
# Vertical synchronization: match the refresh rate of the monitor
|
||||
vsync = true;
|
||||
|
||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||
# Reported to have no effect, though.
|
||||
dbe = false;
|
||||
|
||||
|
||||
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
|
||||
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
||||
# unless you wish to specify a lower refresh rate than the actual value.
|
||||
sw-opti = true;
|
||||
#sw-opti = true;
|
||||
|
||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
||||
# Known to cause flickering when redirecting/unredirecting windows.
|
||||
# paint-on-overlay may make the flickering less obvious.
|
||||
unredir-if-possible = true;
|
||||
unredir-if-possible = false;
|
||||
|
||||
# Specify a list of conditions of windows that should always be considered focused.
|
||||
focus-exclude = [ ];
|
||||
|
||||
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
||||
detect-transient = true;
|
||||
|
@ -197,7 +213,11 @@ detect-transient = true;
|
|||
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
||||
detect-client-leader = true;
|
||||
|
||||
#################################
|
||||
#
|
||||
# Window type settings
|
||||
#
|
||||
#################################
|
||||
|
||||
wintypes:
|
||||
{
|
||||
|
@ -212,10 +232,14 @@ wintypes:
|
|||
# focus: Whether to always consider windows of this type focused.
|
||||
focus = true;
|
||||
};
|
||||
menu = { shadow = false; opacity = 1; focus = true; };
|
||||
dropdown_menu = { shadow = false; opacity = 1; focus = true; };
|
||||
popup_menu = { shadow = false; opacity = 1; focus = true; };
|
||||
utility = { shadow = false; opacity = 1; focus = true; };
|
||||
dock = { shadown = false };
|
||||
dnd = { shadown = false };
|
||||
};
|
||||
|
||||
######################
|
||||
#
|
||||
# XSync
|
||||
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
|
||||
#
|
||||
######################
|
||||
|
||||
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
|
||||
xrender-sync-fence = true;
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/deadguy/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Minwaita-Dark"
|
||||
#gtk-theme-name="Minwaita-Dark"
|
||||
gtk-theme-name="B00merang-Dark"
|
||||
gtk-icon-theme-name="ArchLabs-Light"
|
||||
gtk-font-name="Noto Sans Display 10"
|
||||
gtk-cursor-theme-name="Alkano"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
||||
gtk-cursor-theme-name=Alkano
|
||||
gtk-theme-name=Minwaita-Dark
|
||||
gtk-theme-name=B00merang-Dark
|
||||
gtk-icon-theme-name=ArchLabs-Light
|
||||
gtk-font-name=Noto Sans Display 10
|
||||
gtk-cursor-theme-size=0
|
||||
|
|
|
@ -29,12 +29,6 @@ let g:vimtex_view_use_temp_files = 2
|
|||
let g:vimtex_view_method = 'zathura'
|
||||
let g:vimtex_quickfix_mode = 0 " do not open the quickfix window automatically
|
||||
|
||||
" deoplete completion for LaTeX
|
||||
if !exists('g:deoplete#omni#input_patterns')
|
||||
let g:deoplete#omni#input_patterns = {}
|
||||
endif
|
||||
let g:deoplete#omni#input_patterns.tex = g:vimtex#re#deoplete
|
||||
|
||||
augroup texsave
|
||||
autocmd!
|
||||
autocmd CursorHold,CursorHoldI * silent! wall
|
||||
|
|
|
@ -22,17 +22,16 @@ call plug#begin('~/.config/nvim/plugged')
|
|||
Plug 'w0rp/ale'
|
||||
Plug 'othree/yajs.vim', {'for': 'javascript'}
|
||||
Plug 'othree/es.next.syntax.vim', {'for': 'javascript'}
|
||||
Plug 'mxw/vim-jsx', {'for': 'javascript'}
|
||||
Plug 'HerringtonDarkholme/yats.vim', {'for': 'typescript'}
|
||||
Plug 'mhartington/nvim-typescript', {'do': './install.sh', 'for': 'typescript'}
|
||||
Plug 'mattn/emmet-vim', {'for': 'html'}
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'liuchengxu/vista.vim'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'tmsvg/pear-tree'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug '/usr/bin/fzf'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'kristijanhusak/defx-icons'
|
||||
Plug 'mhartington/oceanic-next'
|
||||
call plug#end()
|
||||
" }}}
|
||||
|
@ -67,7 +66,7 @@ set visualbell " Use visual bell instead of beeping
|
|||
set scrolloff=5 " Keep this many lines padding when scrolling
|
||||
set shortmess+=aoOIWcs " Shorten messages and don't show intro
|
||||
set tabstop=4 " Number of spaces a <Tab> equals
|
||||
set shiftwidth=4 " Number of spaces for each (auto)indent step
|
||||
"set shiftwidth=4 " Number of spaces for each (auto)indent step
|
||||
set foldnestmax=10 " Deepest fold is 10 levels
|
||||
set foldmethod=marker " Markers are used to specify folds.
|
||||
set foldlevelstart=10
|
||||
|
@ -93,7 +92,7 @@ set undodir=$HOME/.config/nvim/undo
|
|||
set formatoptions+=nj
|
||||
set signcolumn=yes
|
||||
set pastetoggle=<F12>
|
||||
set fillchars+=vert:\|
|
||||
set fillchars+=vert:\│
|
||||
|
||||
" Display all matching files when we tab complete
|
||||
set wildmode=longest:full,full
|
||||
|
@ -129,24 +128,25 @@ let g:ale_set_highlights = 1
|
|||
let g:ale_set_signs = 1
|
||||
let g:ale_set_balloons = 1
|
||||
let g:ale_linter_aliases = {
|
||||
\ 'jsx': ['css', 'javascript'],
|
||||
\ 'vue': ['vue', 'javascript'],
|
||||
\ 'jsx': ['css', 'javascript'],
|
||||
\ 'vue': ['vue', 'javascript'],
|
||||
\}
|
||||
let g:ale_linters = {
|
||||
\ 'javascript': ['standard'],
|
||||
\ 'jsx': ['stylelint', 'eslint'],
|
||||
\ 'javascript': ['prettier_standard'],
|
||||
\ 'jsx': ['stylelint', 'eslint'],
|
||||
\ 'typescript': ['tsserver', 'tslint'],
|
||||
\ 'vue': ['eslint', 'vls'],
|
||||
\ 'html': ['tidy'],
|
||||
\ 'bash': ['shellcheck'],
|
||||
\ 'html': ['prettier'],
|
||||
\ 'css': ['prettier'],
|
||||
\ 'bash': ['shellcheck'],
|
||||
\}
|
||||
let g:ale_fixers = {
|
||||
\ 'javascript': ['prettier_standard'],
|
||||
\ 'typescript': ['prettier'],
|
||||
\ 'vue': ['eslint'],
|
||||
\ 'scss': ['prettier'],
|
||||
\ 'css': ['prettier'],
|
||||
\ 'markdown': ['prettier'],
|
||||
\ 'css': ['prettier'],
|
||||
\ 'markdown': ['prettier'],
|
||||
\ 'html': ['prettier'],
|
||||
\}
|
||||
let g:ale_pattern_options = {
|
||||
|
@ -157,7 +157,7 @@ nmap <silent> <F10> <Plug>(ale_previous_wrap)
|
|||
nmap <silent> <F11> <Plug>(ale_next_wrap)
|
||||
" }}}
|
||||
" CoC {{{
|
||||
let g:coc_global_extensions = ['coc-vimlsp', 'coc-stylelint', 'coc-vetur', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-html', 'coc-json', 'coc-eslint', 'coc-prettier']
|
||||
let g:coc_global_extensions = ['coc-vimlsp', 'coc-stylelint', 'coc-vetur', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-html', 'coc-json', 'coc-eslint', 'coc-prettier', 'coc-snippets']
|
||||
|
||||
" Remap keys for gotos
|
||||
nmap <silent> <leader>ld <Plug>(coc-definition)
|
||||
|
@ -173,6 +173,19 @@ nmap <leader>lr <Plug>(coc-rename)
|
|||
" Show documentation in preview window
|
||||
nnoremap <silent> <leader>lk :call <SID>show_documentation()<CR>
|
||||
|
||||
inoremap <silent><expr> <TAB>
|
||||
\ pumvisible() ? coc#_select_confirm() :
|
||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
||||
\ <SID>check_back_space() ? "\<TAB>" :
|
||||
\ coc#refresh()
|
||||
|
||||
function! s:check_back_space() abort
|
||||
let col = col('.') - 1
|
||||
return !col || getline('.')[col - 1] =~# '\s'
|
||||
endfunction
|
||||
|
||||
let g:coc_snippet_next = '<tab>'
|
||||
|
||||
function! s:show_documentation()
|
||||
if &filetype == 'vim'
|
||||
execute 'h '.expand('<cword>')
|
||||
|
@ -222,22 +235,27 @@ command! -bang -nargs=? -complete=dir Files
|
|||
|
||||
" only use FZF shortcuts in non diff-mode
|
||||
if !&diff
|
||||
nnoremap <F1> :Helptags<CR>
|
||||
nnoremap <F2> :Files<CR>
|
||||
nnoremap <F3> :Buffers<CR>
|
||||
nnoremap <F4> :Windows<CR>
|
||||
nnoremap <F6> :History<CR>
|
||||
nnoremap <F7> :Rg<CR>
|
||||
nnoremap <silent> <F1> :Helptags<CR>
|
||||
nnoremap <silent> <F2> :Files<CR>
|
||||
nnoremap <silent> <F3> :Buffers<CR>
|
||||
nnoremap <silent> <F4> :Windows<CR>
|
||||
nnoremap <silent> <F6> :History<CR>
|
||||
nnoremap <silent> <F7> :Rg<CR>
|
||||
endif
|
||||
" }}}
|
||||
" Vista {{{
|
||||
let g:vista_default_executive = 'coc'
|
||||
let g:vista_disable_statusline = 1
|
||||
let g:vista_sidebar_width = 35
|
||||
let g:vista#renderer#enable_icon = 1
|
||||
|
||||
nnoremap <silent> <F9> :Vista!!<cr>
|
||||
" }}}
|
||||
" JS {{{
|
||||
let g:polyglot_disabled = ['javascript', 'jsx', 'typescript', 'json', 'python']
|
||||
let g:polyglot_disabled = ['javascript']
|
||||
let g:jsx_ext_required = 1
|
||||
let g:yats_host_keyword = 1
|
||||
"}}}
|
||||
" Emmet {{{
|
||||
let g:user_emmet_leader_key=','
|
||||
"}}}
|
||||
" Colors {{{
|
||||
set termguicolors
|
||||
let g:oceanic_next_terminal_italic = 1
|
||||
|
@ -250,19 +268,20 @@ function! MyHighlights() abort
|
|||
call matchadd('ColorColumn', '\%81v', 100)
|
||||
endfunction
|
||||
|
||||
hi! VertSplit ctermbg=NONE ctermfg=NONE guibg=#080808 guifg=#080808
|
||||
hi! Comment cterm=italic ctermbg=NONE
|
||||
hi! Normal ctermbg=NONE guibg=#080808
|
||||
hi! NonText ctermbg=NONE guibg=#080808
|
||||
hi! LineNr ctermbg=232 ctermfg=237 guibg=#080808 guifg=#3a3a3a
|
||||
hi! CursorLineNr ctermbg=236 ctermfg=NONE guibg=#303030 guifg=NONE
|
||||
hi! CursorLine ctermbg=236 ctermfg=NONE guibg=#303030 guifg=NONE
|
||||
hi! SignColumn ctermbg=NONE guibg=#080808
|
||||
hi! Folded ctermbg=NONE guibg=#080808
|
||||
hi! TabLine cterm=None ctermbg=NONE guibg=#080808
|
||||
hi! TabLineSel cterm=None ctermbg=NONE guibg=#080808
|
||||
hi! TabLineFill cterm=None ctermbg=NONE guibg=#080808 guifg=#080808
|
||||
hi! EndOfBuffer ctermbg=NONE ctermfg=NONE guibg=#080808 guifg=NONE
|
||||
hi! VertSplit ctermbg=NONE ctermfg=NONE guibg=NONE guifg=#080808
|
||||
hi! Comment cterm=italic ctermbg=NONE guibg=NONE
|
||||
hi! Normal ctermbg=NONE guibg=NONE
|
||||
hi! NonText ctermbg=NONE guibg=NONE
|
||||
hi! LineNr guibg=NONE
|
||||
" hi! LineNr ctermbg=232 ctermfg=237 guibg=NONE guifg=#3a3a3a
|
||||
hi! CursorLineNr ctermbg=236 ctermfg=NONE guibg=#303030
|
||||
hi! CursorLine ctermbg=236 ctermfg=NONE guibg=#303030
|
||||
hi! SignColumn ctermbg=NONE guibg=NONE
|
||||
hi! Folded ctermbg=NONE guibg=NONE
|
||||
" hi! TabLine cterm=None ctermbg=NONE guibg=#080808
|
||||
" hi! TabLineSel cterm=None ctermbg=NONE guibg=#080808
|
||||
" hi! TabLineFill cterm=None ctermbg=NONE guibg=#080808 guifg=#080808
|
||||
hi! EndOfBuffer ctermbg=NONE ctermfg=NONE guibg=NONE guifg=#080808
|
||||
hi! WildMenu ctermfg=226 ctermbg=0 guifg=#ffff00 guibg=#000000
|
||||
hi! link CocErrorSign WarningMsg
|
||||
hi! link CocWarningSign Number
|
||||
|
@ -388,7 +407,7 @@ if !exists("autocommands_loaded") && has("autocmd")
|
|||
aug END
|
||||
|
||||
aug term_stuff
|
||||
au TermOpen * setlocal nonumber
|
||||
au TermOpen * setlocal nonumber norelativenumber
|
||||
au TermOpen * setlocal laststatus=0
|
||||
au TermOpen * setlocal nocursorline
|
||||
au TermOpen * setlocal signcolumn=no
|
||||
|
@ -415,68 +434,58 @@ if !exists("autocommands_loaded") && has("autocmd")
|
|||
aug END
|
||||
|
||||
aug file_types
|
||||
au FileType * setl formatoptions-=cro
|
||||
au FileType * setl formatoptions-=cro
|
||||
au BufRead,BufNewFile *.md set filetype=markdown
|
||||
au BufRead,BufNewFile *.conf set filetype=config
|
||||
au BufRead,BufNewFile *.bash* set filetype=sh
|
||||
au BufRead,BufNewFile *.vue set filetype=vue
|
||||
au BufRead,BufNewFile *.jsx set filetype=javascript.jsx
|
||||
au BufRead,BufNewFile *.ts set filetype=typescript
|
||||
au BufRead,BufNewFile *.tsx set filetype=typescript.tsx
|
||||
au FileType typescript,json setl formatexpr=CocAction('formatSelected')
|
||||
au FileType json syntax match Comment +\/\/.\+$+
|
||||
au BufRead,BufNewFile *.ts set filetype=typescript
|
||||
au BufRead,BufNewFile *.tsx set filetype=typescript.tsx
|
||||
au FileType typescript,json setl formatexpr=CocAction('formatSelected')
|
||||
au FileType json syntax match Comment +\/\/.\+$+
|
||||
aug END
|
||||
endif
|
||||
" }}}
|
||||
" File browser {{{
|
||||
let g:defx_icons_enable_syntax_highlight = 0
|
||||
call defx#custom#option('_', {
|
||||
\ 'columns': 'mark:indent:icons:filename',
|
||||
\ 'winwidth': 30,
|
||||
\ 'columns': 'icons:indent:filename:type',
|
||||
\ 'winwidth': 20,
|
||||
\ 'split': 'vertical',
|
||||
\ 'direction': 'botright',
|
||||
\ 'direction': 'topleft',
|
||||
\ 'show_ignored_files': 0,
|
||||
\ 'toggle': 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
|
||||
nnoremap <silent><buffer><expr> <CR> defx#do_action('drop')
|
||||
nnoremap <silent><buffer><expr> l <sid>defx_toggle_tree()
|
||||
nnoremap <silent><buffer><expr> s defx#do_action('open', 'botright vsplit')
|
||||
nnoremap <silent><buffer><expr> i defx#do_action('open', 'topleft split')
|
||||
nnoremap <silent><buffer><expr> st defx#do_action('multi', [['drop', 'tabnew'], 'quit'])
|
||||
nnoremap <silent><buffer><expr> sg defx#do_action('multi', [['drop', 'vsplit'], 'quit'])
|
||||
nnoremap <silent><buffer><expr> sp defx#do_action('multi', [['drop', 'split'], 'quit'])
|
||||
nnoremap <silent><buffer><expr> v defx#do_action('open', 'botright vsplit')
|
||||
nnoremap <silent><buffer><expr> s defx#do_action('open', 'topleft split')
|
||||
nnoremap <silent><buffer><expr> t defx#do_action('multi', [['drop', 'tabnew'], 'quit'])
|
||||
nnoremap <silent><buffer><expr> P defx#do_action('open', 'pedit')
|
||||
nnoremap <silent><buffer><expr> K defx#do_action('new_directory')
|
||||
nnoremap <silent><buffer><expr> N 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> yy defx#do_action('yank_path')
|
||||
nnoremap <silent><buffer><expr> h 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> 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> yy defx#do_action('yank_path')
|
||||
nnoremap <silent><buffer><expr> h 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><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><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> ' 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> ' 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> S defx#do_action('toggle_sort', 'Time')
|
||||
endfunction
|
||||
|
||||
function! s:defx_toggle_tree() abort
|
||||
|
@ -486,7 +495,7 @@ function! s:defx_toggle_tree() abort
|
|||
return defx#do_action('drop')
|
||||
endfunction
|
||||
|
||||
nnoremap <F5> :Defx<CR>
|
||||
nnoremap <silent> <F5> :Defx<CR>
|
||||
" }}}
|
||||
" REPL {{{
|
||||
let g:my_active_terminal_job_id = -1
|
||||
|
@ -574,7 +583,6 @@ nnoremap <silent> <Left> :vertical resize -2<CR>
|
|||
nnoremap <silent> <Right> :vertical resize +2<CR>
|
||||
nnoremap <silent> <Up> :resize -1<CR>
|
||||
nnoremap <silent> <Down> :resize +1<CR>
|
||||
inoremap jk <esc>
|
||||
cnoremap jk <C-c>
|
||||
|
||||
" Edit and source config file
|
||||
|
@ -582,10 +590,13 @@ nnoremap <silent> <leader>ev :vsplit $MYVIMRC<CR>
|
|||
nnoremap <silent> <leader>sv :source $MYVIMRC<CR>
|
||||
|
||||
" Fast saves
|
||||
nnoremap <leader>w :w!<CR>
|
||||
nnoremap <silent> <leader>w :w!<CR>
|
||||
|
||||
" Fast closes
|
||||
nnoremap <silent> <leader>c :clo<CR>
|
||||
|
||||
" Fast exits
|
||||
nnoremap <leader>q :q!<CR>
|
||||
nnoremap <silent> <leader>q :q!<CR>
|
||||
nnoremap <leader>Q :qa!<CR>
|
||||
|
||||
" Splits
|
||||
|
@ -654,6 +665,8 @@ nnoremap g# g#zz
|
|||
:command! QA qa
|
||||
"}}}
|
||||
"Insert {{{
|
||||
inoremap jk <esc>
|
||||
|
||||
" Ensure that ctrl+u in insert mode can be reversed
|
||||
" http://vim.wikia.com/wiki/Recover_from_accidental_Ctrl-U
|
||||
inoremap <c-u> <c-g>u<c-u>
|
||||
|
|
|
@ -14,7 +14,7 @@ set vcs_backend_git enabled
|
|||
set vcs_backend_hg disabled
|
||||
set vcs_backend_bzr disabled
|
||||
set vcs_backend_svn disabled
|
||||
set preview_images true
|
||||
set preview_images false
|
||||
set preview_images_method ueberzug
|
||||
set w3m_delay 0.05
|
||||
set unicode_ellipsis true
|
||||
|
@ -280,7 +280,7 @@ map yn yank name
|
|||
|
||||
# Searching
|
||||
map ff console scout -ftsea%space
|
||||
map / console search%space
|
||||
map / console travel%space
|
||||
map n search_next
|
||||
map N search_next forward=False
|
||||
map st search_next order=tag
|
||||
|
|
|
@ -61,7 +61,7 @@ super + {_,shift} + i
|
|||
|
||||
# Run Applications
|
||||
super + {t,b,v,q,x,c}
|
||||
{subl,$BROWSER,pavucontrol,oblogout,$TERMINAL,gsimplecal}
|
||||
{subl,$BROWSER,pavucontrol,powermenu,$TERMINAL,gsimplecal}
|
||||
|
||||
super + z
|
||||
termite --name=multi -e termux
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
[options]
|
||||
font = NotoSansMono Nerd Font Regular 9.5
|
||||
# font = Monaco 11
|
||||
# font = MonacoB2 Nerd Font Mono Regular 10
|
||||
# font = NotoSansMono Nerd Font Regular 9.5
|
||||
font = RobotoMono Nerd Font Regular 10
|
||||
hyperlinks = true
|
||||
icon_name = terminal
|
||||
scroll_on_output = false
|
||||
scroll_on_keystroke = true
|
||||
audible_bell = false
|
||||
|
@ -16,43 +21,69 @@ cursor_blink = off
|
|||
size_hints = false
|
||||
filter_unmatched_urls = true
|
||||
cursor_shape = underline
|
||||
# cell_width_scale = 1.3
|
||||
# cell_height_scale = 1.4
|
||||
|
||||
[colors]
|
||||
|
||||
cursor = #ffcc66
|
||||
cursor_foreground = #ffcc66
|
||||
|
||||
foreground = #b3b1ad
|
||||
foreground_bold = #b3b1ad
|
||||
background = rgba(10, 14, 20, 0.85)
|
||||
|
||||
color0 = #0a0e14
|
||||
color1 = #ff3333
|
||||
color2 = #c2d94c
|
||||
color3 = #ffb454
|
||||
color4 = #59c2ff
|
||||
color5 = #f07178
|
||||
color6 = #95e6cb
|
||||
color7 = #a89984
|
||||
color8 = #1f2430
|
||||
color9 = #ff3333
|
||||
color10 = #bae67e
|
||||
color11 = #ffd580
|
||||
color12 = #73d0ff
|
||||
color13 = #f28779
|
||||
color14 = #95e6cb
|
||||
color15 = #ffffff
|
||||
|
||||
# special
|
||||
foreground = #d3d7cf
|
||||
foreground_bold = #d3d7cf
|
||||
background = #080808
|
||||
# foreground = #d3d7cf
|
||||
# foreground_bold = #d3d7cf
|
||||
# background = rgba(8, 8, 8, 0.8)
|
||||
|
||||
# black
|
||||
color0 = #222222
|
||||
color8 = #555555
|
||||
# # black
|
||||
# color0 = #222222
|
||||
# color8 = #555555
|
||||
|
||||
# red
|
||||
color1 = #ec5252
|
||||
color9 = #fb4934
|
||||
# # red
|
||||
# color1 = #ec5252
|
||||
# color9 = #fb4934
|
||||
|
||||
# green
|
||||
color2 = #407e4a
|
||||
color10 = #8fc13e
|
||||
# # green
|
||||
# color2 = #407e4a
|
||||
# color10 = #8fc13e
|
||||
|
||||
# yellow
|
||||
color3 = #d79921
|
||||
color11 = #fabd2f
|
||||
# # yellow
|
||||
# color3 = #d79921
|
||||
# color11 = #fabd2f
|
||||
|
||||
# blue
|
||||
color4 = #008bbd
|
||||
color12 = #0474a7
|
||||
# # blue
|
||||
# color4 = #008bbd
|
||||
# color12 = #0474a7
|
||||
|
||||
# magenta
|
||||
color5 = #b16286
|
||||
color13 = #d3869b
|
||||
# # magenta
|
||||
# color5 = #b16286
|
||||
# color13 = #d3869b
|
||||
|
||||
# cyan
|
||||
color6 = #689d64
|
||||
color14 = #149b93
|
||||
# # cyan
|
||||
# color6 = #689d64
|
||||
# color14 = #149b93
|
||||
|
||||
# white
|
||||
color7 = #a89984
|
||||
color15 = #c9c9c9
|
||||
# # white
|
||||
# color7 = #a89984
|
||||
# color15 = #c9c9c9
|
||||
# vim: ft=dosini cms=#%s
|
|
@ -19,7 +19,8 @@ alias surfraw='surfraw -browser=$BROWSER'
|
|||
alias bm='bashmount'
|
||||
alias kat='cat'
|
||||
alias nb='newsboat --quiet'
|
||||
alias sxiv='sxiv -p -b -a -q'
|
||||
alias sxiv='sxiv-rifle -p -b -a -q'
|
||||
alias yt='mpsyt'
|
||||
|
||||
# MAXIMUM VERBOSITY YIELDS MAXIMUM RESULTS
|
||||
alias chmod='chmod -v'
|
||||
|
|
|
@ -8,22 +8,22 @@ configuration {
|
|||
display-run: "Execute";
|
||||
display-window: "Switch";
|
||||
sidebar-mode: true;
|
||||
show-icons: true;
|
||||
show-icons: true;
|
||||
}
|
||||
|
||||
/* global settings and color variables */
|
||||
|
||||
* {
|
||||
background-color: #00000065;
|
||||
text-color: #EFEFEF;
|
||||
clearbg: #00000000;
|
||||
fullbg: #080808;
|
||||
selbg: #00a0e6;
|
||||
actbg: #222222;
|
||||
background-color: #00000065;
|
||||
text-color: #EFEFEF;
|
||||
clearbg: #00000000;
|
||||
fullbg: #080808;
|
||||
selbg: #00a0e6;
|
||||
actbg: #222222;
|
||||
urgbg: #e53935;
|
||||
winbg: #00364e;
|
||||
winbg: #00364e;
|
||||
|
||||
selected-normal-foreground: @winbg;
|
||||
selected-normal-foreground: @winbg;
|
||||
normal-foreground: @text-color;
|
||||
selected-normal-background: @actbg;
|
||||
normal-background: @fullbg;
|
||||
|
@ -38,65 +38,65 @@ configuration {
|
|||
selected-active-background: @text-color;
|
||||
active-background: @winbg;
|
||||
|
||||
columns: 1;
|
||||
line-margin: 2;
|
||||
line-padding: 2;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
separator-style: "none";
|
||||
hide-scrollbar: "true";
|
||||
font: "SF Pro Text 12";
|
||||
columns: 1;
|
||||
line-margin: 2;
|
||||
line-padding: 2;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
separator-style: "none";
|
||||
hide-scrollbar: "true";
|
||||
font: "SF Pro Text 12";
|
||||
}
|
||||
|
||||
window {
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 70%;
|
||||
margin: 0 0 0 0;
|
||||
children: [mainbox];
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 70%;
|
||||
margin: 0 0 0 0;
|
||||
children: [mainbox];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @fullbg;
|
||||
children: [inputbar, listview, mode-switcher];
|
||||
spacing: 10px;
|
||||
padding: 30px 0 0 0;
|
||||
border: 1px;
|
||||
border-color: @clearbg;
|
||||
children: [inputbar, listview, mode-switcher];
|
||||
spacing: 10px;
|
||||
padding: 30px 0 0 0;
|
||||
border: 1px;
|
||||
border-color: @clearbg;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: @clearbg;
|
||||
fixed-height: 0;
|
||||
border: 0;
|
||||
spacing: 5px;
|
||||
scrollbar: false;
|
||||
padding: 10px;
|
||||
fixed-height: 0;
|
||||
border: 0;
|
||||
spacing: 5px;
|
||||
scrollbar: false;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ entry ];
|
||||
children: [ entry ];
|
||||
background-color: @clearbg;
|
||||
padding: 0 15px;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: @clearbg;
|
||||
spacing: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
button { padding: 5px; }
|
||||
|
||||
button selected {
|
||||
background-color: @selbg;
|
||||
text-color: @fullbg;
|
||||
background-color: @selbg;
|
||||
text-color: @fullbg;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @clearbg;
|
||||
border-radius: 15px;
|
||||
border: 0;
|
||||
padding: 4px;
|
||||
border-radius: 15px;
|
||||
border: 0;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
element.normal.urgent {
|
||||
|
@ -111,7 +111,7 @@ element.normal.active {
|
|||
|
||||
element.selected.normal {
|
||||
background-color: @selbg;
|
||||
text-color: @fullbg;
|
||||
text-color: @fullbg;
|
||||
}
|
||||
|
||||
element.selected.urgent {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# TERM
|
||||
set -g default-terminal tmux-256color
|
||||
set -g default-terminal tmux-256color
|
||||
set -ga terminal-overrides ",xterm-termite:Tc,xterm-256color:Tc"
|
||||
set -ga terminal-overrides ",*col*:Tc"
|
||||
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
|
||||
|
|
2
.xinitrc
2
.xinitrc
|
@ -37,7 +37,7 @@ eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
|
|||
export SSH_AUTH_SOCK
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
# compton -b &
|
||||
compton -b &
|
||||
sxhkd &
|
||||
xfce4-power-manager &
|
||||
dunst -conf ~/.config/dunst/dunstrc &
|
||||
|
|
2
.zshenv
2
.zshenv
|
@ -75,7 +75,7 @@ export LESS_TERMCAP_ZO=$(tput ssupm) # Enter superscript mode.
|
|||
export LESS_TERMCAP_ZW=$(tput rsupm) # End superscript mode.
|
||||
# }}}
|
||||
# Path {{{
|
||||
typeset -U path
|
||||
# typeset -U path
|
||||
path=(~/bin ~/.local/bin ~/.yarn/bin ~/.config/yarn/global/node_modules/.bin /usr/lib/surfraw $path[@])
|
||||
# }}}
|
||||
# vim:foldmethod=marker:foldlevel=0
|
||||
|
|
5
.zshrc
5
.zshrc
|
@ -96,7 +96,7 @@ zstyle ':completion:*' accept-exact '*(N)'
|
|||
zstyle ':completion:*' rehash true
|
||||
# }}}
|
||||
# Historial {{{
|
||||
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"
|
||||
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help:man *:up:rtv *"
|
||||
HISTFILE="$MODULES_DIR/histfile"
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
|
@ -141,9 +141,6 @@ typeset -g ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT='true'
|
|||
|
||||
AGKOZAK_BLANK_LINES=1
|
||||
AGKOZAK_CUSTOM_SYMBOLS=( '⇣⇡' '⇣' '⇡' '+' 'x' '!' '>' '?' )
|
||||
# AGKOZAK_CUSTOM_PROMPT='%(?..%B%F{red}(%?%)%f%b )'
|
||||
# AGKOZAK_CUSTOM_PROMPT+=$'%B%F{blue}%2v%f%b '
|
||||
# AGKOZAK_CUSTOM_PROMPT+='%F{green}%(4V.:.%(!.%#.$))%f '
|
||||
AGKOZAK_PROMPT_DIRTRIM=0
|
||||
AGKOZAK_USER_HOST_DISPLAY=0
|
||||
AGKOZAK_MULTILINE=0
|
||||
|
|
|
@ -3,7 +3,8 @@ acpi
|
|||
advcp
|
||||
alsa-plugins
|
||||
alsa-utils
|
||||
android-file-transfer
|
||||
android-tools
|
||||
android-udev
|
||||
atool
|
||||
audacity
|
||||
autoconf
|
||||
|
@ -17,6 +18,7 @@ bspwm
|
|||
cadence
|
||||
calf
|
||||
carla
|
||||
compton
|
||||
compton-conf
|
||||
cpupower
|
||||
crda
|
||||
|
@ -33,7 +35,6 @@ downgrade
|
|||
dunst
|
||||
ecryptfs-utils
|
||||
efibootmgr
|
||||
eslint
|
||||
ethtool
|
||||
exfat-utils
|
||||
f2fs-tools
|
||||
|
@ -67,7 +68,6 @@ hunspell-en_US
|
|||
hunspell-es_any
|
||||
hunspell-es_ar
|
||||
i3lock-color
|
||||
imagemagick
|
||||
iniparser
|
||||
inkscape
|
||||
intel-ucode
|
||||
|
@ -111,11 +111,12 @@ neomutt
|
|||
newsboat
|
||||
nfs-utils
|
||||
nilfs-utils
|
||||
nnn
|
||||
notmuch
|
||||
noto-fonts-cjk
|
||||
npm
|
||||
ntfs-3g
|
||||
oblogout
|
||||
obs-studio
|
||||
offlineimap
|
||||
os-prober
|
||||
p7zip
|
||||
|
@ -151,6 +152,7 @@ python-pytest-flake8
|
|||
python-rope
|
||||
python-setproctitle
|
||||
python-virtualenv
|
||||
python-wheel
|
||||
python2-pygame-sdl2
|
||||
qalculate-gtk
|
||||
qt5ct
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
bashmount
|
||||
bfs
|
||||
colort-git
|
||||
compton-tryone-git
|
||||
curseradio-git
|
||||
eslint-plugin-vue
|
||||
figlet-fonts
|
||||
gimp-paint-studio
|
||||
gimp-plugin-akkana-git
|
||||
|
@ -30,6 +30,7 @@ python-pysdl2
|
|||
ranger-git
|
||||
realtimeconfigquickscan-git
|
||||
reaper-bin
|
||||
simple-mtpfs
|
||||
soulseekqt
|
||||
stylelint
|
||||
syncterm
|
||||
|
@ -39,6 +40,8 @@ thermald
|
|||
toilet-fonts
|
||||
transmission-remote-cli-git
|
||||
unclutter-xfixes-git
|
||||
vue-cli
|
||||
vue-language-server
|
||||
wpa_actiond
|
||||
xcursor-alkano-default
|
||||
zsh-autopair-git
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euf -o pipefail
|
||||
|
||||
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 "$HOME/Music/Albums/%(artist)s/%(album)s/%(artist)s - %(album)s - %(track_number)d %(track)s.%(ext)s" "$1"
|
||||
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 "$HOME/Music/Albums/%(artist)s/%(album)s/%(artist)s - %(album)s - %(track_number)d%(track)s.%(ext)s" "$1"
|
||||
|
||||
echo "Trying to get cover..."
|
||||
HTML_TEMP=$(mktemp)
|
||||
|
|
37
bin/compilar
37
bin/compilar
|
@ -1,37 +0,0 @@
|
|||
#!/bin/sh
|
||||
# This script will compile or run another finishing operation on a document. I
|
||||
# have this script run via vim.
|
||||
#
|
||||
# Compiles .tex. groff (.mom, .ms), .rmd, .md.
|
||||
# Opens .sent files as sent presentations.
|
||||
# Runs scripts based on extention or shebang
|
||||
|
||||
file=$(readlink -f "$1")
|
||||
dir=$(dirname "$file")
|
||||
base="${file%.*}"
|
||||
|
||||
cd "$dir" || exit
|
||||
|
||||
textype() { \
|
||||
command="pdflatex"
|
||||
( sed 5q "$file" | grep -i -q 'xelatex' ) && command="xelatex"
|
||||
$command --output-directory="$dir" "$base" &&
|
||||
grep -i addbibresource "$file" >/dev/null &&
|
||||
biber --input-directory "$dir" "$base" &&
|
||||
$command --output-directory="$dir" "$base" &&
|
||||
$command --output-directory="$dir" "$base"
|
||||
}
|
||||
|
||||
case "$file" in
|
||||
*\.ms) refer -PS -e "$file" | groff -me -ms -kejpt -T pdf > "$base".pdf ;;
|
||||
*\.mom) refer -PS -e "$file" | groff -mom -kejpt -T pdf > "$base".pdf ;;
|
||||
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
|
||||
*\.tex) textype "$file" ;;
|
||||
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
|
||||
*config.h) sudo make install ;;
|
||||
*\.c) cc "$file" -o "$base" && "$base" ;;
|
||||
*\.py) python "$file" ;;
|
||||
*\.go) go run "$file" ;;
|
||||
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
||||
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
||||
esac
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# A general, all-purpose extraction script.
|
||||
#
|
||||
# Default behavior: Extract archive into new directory
|
||||
|
|
10
bin/grabar
10
bin/grabar
|
@ -23,23 +23,23 @@ killrecording() {
|
|||
screencast() { \
|
||||
ffmpeg -y \
|
||||
-thread_queue_size 4096 \
|
||||
-f alsa -ac 2 -i pulse \
|
||||
-f x11grab \
|
||||
-framerate 60 \
|
||||
-s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \
|
||||
-i :0.0 \
|
||||
-f alsa -ac 2 -i pulse \
|
||||
-r 30 \
|
||||
-c:v libx264rgb -crf 0 -preset ultrafast -c:a aac -b:a 128k \
|
||||
"$HOME/Video/Screen/$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||
"$HOME/Videos/Screen/$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||
echo $! > /tmp/recordingpid
|
||||
}
|
||||
}
|
||||
|
||||
jacka() { \
|
||||
ffmpeg -y \
|
||||
-thread_queue_size 4096 \
|
||||
-f pulse -i 1 \
|
||||
-ac 2 -channel_layout stereo -async 1 \
|
||||
-c:a flac "$HOME/Video/Tape/$(date '+%y%m%d-%H%M-%S').flac"
|
||||
-c:a flac "$HOME/Videos/Tape/$(date '+%y%m%d-%H%M-%S').flac"
|
||||
echo $! > /tmp/recordingpid
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ jackv() {
|
|||
-i :0.0 \
|
||||
-r 30 \
|
||||
-c:v libx264 -qp 0 -r 30 -c:a flac \
|
||||
"$HOME/Video/Screen/$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||
"$HOME/Videos/Screen/$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||
echo $! > /tmp/recordingpid
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue