oops, olvide mi sombrero
This commit is contained in:
parent
844e02dc70
commit
aff169ca1f
|
@ -1,8 +1,7 @@
|
|||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/deadguy/.gtkrc-2.0.mine"
|
||||
#gtk-theme-name="Minwaita-Dark"
|
||||
include "/home/deadguy/.config/gtk-2.0/gtkrc-2.0.mine"
|
||||
gtk-theme-name="B00merang-Dark"
|
||||
gtk-icon-theme-name="ArchLabs-Light"
|
||||
gtk-font-name="Noto Sans Display 10"
|
||||
|
|
|
@ -10,6 +10,7 @@ set info size:time
|
|||
set reverse
|
||||
set incsearch
|
||||
set color256
|
||||
# All other settings need to go above this comment because reasons
|
||||
set icons
|
||||
|
||||
%{{
|
||||
|
@ -269,6 +270,9 @@ map bg $setbg $f
|
|||
map U %du -sh $f
|
||||
map Y %cp -ri $fs .
|
||||
map D %mv -i $fs .
|
||||
map za %zip -r "$f" "$f"
|
||||
map zu $atool --each --extract "$f"
|
||||
map mp $mpv "$f"
|
||||
|
||||
map cc push A<c-u> # new rename
|
||||
map I push A<c-a> # at the very beginning
|
||||
|
@ -283,9 +287,6 @@ map <tab> $lf -remote "send $id select '$(fzf)'"
|
|||
map / $lf -remote "send $id select \"$(FZF_DEFAULT_COMMAND='fd --max-depth=1' fzf-tmux)\""
|
||||
map F $find | lf -remote "send $id select $(fzf-tmux --height 50% --reverse --border --margin 5% --inline-info --color border:#005688,bg+:#16252E,fg+:#26c6da,hl+:#ffffff,hl:#26c6da)"
|
||||
|
||||
map az %zip -r "$f" "$f"
|
||||
map au atool --each --extract "$f"
|
||||
|
||||
# Movement
|
||||
map gu cd ~/Documents/
|
||||
map gE cd /etc
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
prefix=${XDG_DATA_HOME}/npm
|
||||
cache=${XDG_CACHE_HOME}/npm
|
||||
tmp=${XDG_RUNTIME_DIR}/npm
|
||||
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
|
|
@ -356,15 +356,6 @@ set tabline=%!Tabline()
|
|||
if !exists('autocommands_loaded') && has('autocmd')
|
||||
let autocommands_loaded = 1
|
||||
|
||||
" Plug updates itself automatically
|
||||
if empty(glob('~/.config/nvim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
|
||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
aug Plugged
|
||||
au VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||
aug END
|
||||
endif
|
||||
|
||||
function! PopOutOfInsertMode()
|
||||
if v:insertmode
|
||||
call feedkeys("\<C-\>\<C-n>")
|
||||
|
@ -438,6 +429,7 @@ if !exists('autocommands_loaded') && has('autocmd')
|
|||
endif
|
||||
" }}}
|
||||
" REPL {{{
|
||||
let g:slime_paste_file = '$HOME/.cache/slime_paste'
|
||||
let g:slime_target = 'neovim'
|
||||
let g:slime_python_ipython = 1
|
||||
|
||||
|
@ -463,7 +455,7 @@ function! LaunchSC() range abort
|
|||
silent exe "normal! :tabprev\n"
|
||||
silent exe "normal! <cr>\n"
|
||||
sleep 2200ms
|
||||
silent exe 'normal! G'
|
||||
silent exe "normal! G"
|
||||
endfunction
|
||||
|
||||
function! LaunchIpython() range abort
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euf -o pipefail
|
||||
|
||||
I=1
|
||||
M=$(bspc query -M | wc -l)
|
||||
if [[ "$M" == 1 ]]; then
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
||||
elif [[ "$M" == 2 ]]; then
|
||||
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3 4 5
|
||||
bspc monitor "$(bspc query -M | awk NR==2)" -d 6 7 8 9 10
|
||||
elif [[ "$M" == 3 ]]; then
|
||||
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3 4
|
||||
bspc monitor "$(bspc query -M | awk NR==2)" -d 5 6 7
|
||||
bspc monitor "$(bspc query -M | awk NR==3)" -d 8 9 10
|
||||
elif [[ "$M" == 4 ]]; then
|
||||
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3
|
||||
bspc monitor "$(bspc query -M | awk NR==2)" -d 4 5 6
|
||||
bspc monitor "$(bspc query -M | awk NR==3)" -d 7 8
|
||||
bspc monitor "$(bspc query -M | awk NR==4)" -d 9 10
|
||||
elif [[ "$M" == 5 ]]; then
|
||||
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2
|
||||
bspc monitor "$(bspc query -M | awk NR==2)" -d 3 4
|
||||
bspc monitor "$(bspc query -M | awk NR==3)" -d 5 6
|
||||
bspc monitor "$(bspc query -M | awk NR==4)" -d 7 8
|
||||
bspc monitor "$(bspc query -M | awk NR==5)" -d 9 10
|
||||
else
|
||||
for monitor in $(bspc query -M); do
|
||||
bspc monitor "$monitor" \
|
||||
-n "$I" \
|
||||
-d $I/{a,b,c}
|
||||
(( I++ ))
|
||||
done
|
||||
fi
|
Reference in New Issue