diff options
author | dgy <dgy@texto-plano.xyz> | 2022-09-10 21:26:16 -0300 |
---|---|---|
committer | dgy <dgy@texto-plano.xyz> | 2022-09-10 21:26:16 -0300 |
commit | 2453311e595c6a60a5b614d48310a9064a6fd22b (patch) | |
tree | 34149c1aed90bdc4e34d3cc30676c4acee1e2706 | |
parent | 306a9288b8a55bb19309c9369e0660e92fcd826b (diff) | |
download | bsd_dots-2453311e595c6a60a5b614d48310a9064a6fd22b.tar.gz |
Un par de archivos nuevos y algunos cambios para estar mas a gusto. tambien eran necesarias modificaciones para este entorno
-rw-r--r-- | .profile | 104 | ||||
-rw-r--r-- | X11/defaults | 5 | ||||
-rw-r--r-- | X11/urxvt | 71 | ||||
-rw-r--r-- | X11/xft | 6 | ||||
-rw-r--r-- | X11/xlock | 16 | ||||
-rwxr-xr-x | X11/xsession | 23 | ||||
-rw-r--r-- | X11/xterm | 49 | ||||
-rwxr-xr-x | bspwm/bspwmrc | 46 | ||||
-rw-r--r-- | exrc | 60 | ||||
-rw-r--r-- | git/config | 16 | ||||
-rw-r--r-- | gtk-2.0/.gtkrc-2.0 | 20 | ||||
-rw-r--r-- | ksh/conf/alias.ksh | 36 | ||||
-rw-r--r-- | lynx/lynx.cfg (renamed from lynx.cfg) | 0 | ||||
-rw-r--r-- | lynx/lynx.lss (renamed from lynx.lss) | 0 | ||||
-rw-r--r-- | mpv/input.conf | 177 | ||||
-rw-r--r-- | mpv/mpv.conf | 30 | ||||
-rw-r--r-- | pipe-viewer/pipe-viewer.conf | 124 | ||||
-rw-r--r-- | sxhkd/sxhkdrc | 49 | ||||
-rw-r--r-- | tmux/tmux.conf | 25 |
19 files changed, 824 insertions, 33 deletions
diff --git a/.profile b/.profile new file mode 100644 index 0000000..b5ed3c0 --- /dev/null +++ b/.profile @@ -0,0 +1,104 @@ +# {{{ Login +dir=/tmp/run/$(id -u) +if [ ! -d "$dir" ]; then + mkdir -p $dir + /sbin/chown -R $(whoami):$(id -gn) $dir + chmod -R 0700 $dir +fi +XDG_RUNTIME_DIR=${dir} +TMPDIR=${XDG_RUNTIME_DIR} +unset dir +# }}} +# Path {{{ +PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. +PATH=$HOME/bin:$PATH +PATH=$HOME/.local/bin:$PATH +export PATH HOME TERM +# }}} +# Opciones del Sistema {{{ +export XTERM_LOCALE=en_US.UTF-8 +export LANG=en_US.UTF-8 +export LC_CTYPE=en_US.UTF-8 +export LC_MESSAGE=en_US.UTF-8 +export LC_TIME=es_AR.UTF-8 +export LC_NUMERIC=es_AR.UTF-8 +export LC_MONETARY=es_AR.UTF-8 +export LC_COLLATE=C +export LIBRARY_PATH=/usr/local/lib +export C_INCLUDE_PATH=/usr/local/include/ +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export TIME_STYLE="long-iso" +export BLOCK_SIZE="'1" +export QUOTING_STYLE=literal +export CLICOLOR=1 +export ENV="$XDG_CONFIG_HOME/ksh/.kshrc" +# }}} +# Programas {{{ +#export EXINIT="set ai ic nu sm smd sw=4 ts=4 ruler para=BlBdPpIt sect=ShSs | map gg 1G" +export EXINIT=":so $XDG_CONFIG_HOME/exrc" +export EDITOR="nvim" +export TERMINAL="xterm" +export VISUAL="$EDITOR" +export GIT_EDITOR="$EDITOR" + +export GPG_TTY=$(tty) +export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg" +export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/pass" +#eval $(keychain --dir ~/.local/share/keychain --quiet --eval --noask --clear --agents ssh,gpg id_ed25519) + +export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" +export HIGHLIGHT_OPTIONS='--out-format="ansi" --style=base16/gruvbox-dark-hard' +export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config" +export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" +export LYNX_LSS="${XDG_CONFIG_HOME:-$HOME/.config}/lynx/lynx.lss" +export LYNX_CFG="${XDG_CONFIG_HOME:-$HOME/.config}/lynx/lynx.cfg" +export ELINKS_CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}/elinks" +export IPYTHONDIR="$XDG_CONFIG_HOME/ipython" +export NNTPSERVER="news.tildeverse.org" +export SLRNHOME="$XDG_CONFIG_HOME/slrn" +# }}} +# FZF {{{ +export FZF_DEFAULT_OPTS="--cycle \ + --color=bg:-1,hl:#5fff87,bg+:-1,hl+:#ffaf5f,border:#000000,info:#af87ff,prompt:#5fff87,pointer:#ff87d7,marker:#ff87d7,spinner:#ff87d7 \ + --reverse \ + --info=inline \ + --no-bold \ + --ansi \ + --pointer='→' \ + --marker='∙' \ + --preview-window :wrap:sharp" + +#export FZF_DEFAULT_COMMAND="fd -t f -c always -H --strip-cwd-prefix" +export FZF_COMPLETION_OPTS='+c -x' +export FZF_CTRL_T_OPTS="--select-1 --exit-0 --preview 'echo {}'" +export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind '?:toggle-preview'" +export FZF_VIM_LOG=$(git config --get alias.l | awk '{$1=""; print $0;}' | tr -d '\r') +# }}} +# Less {{{ +export PAGER=less +export LESSCHARSET=UTF-8 +export LESS=FRXix4 +export LESS_TERMCAP_mb="$(printf '%b' '[0;34m')" +export LESS_TERMCAP_md="$(printf '%b' '[0;32m')" +export LESS_TERMCAP_me="$(printf '%b' '[0m')" +export LESS_TERMCAP_so="$(printf '%b' '[0;33m')" +export LESS_TERMCAP_se="$(printf '%b' '[0m')" +export LESS_TERMCAP_us="$(printf '%b' '[14;32m')" +export LESS_TERMCAP_ue="$(printf '%b' '[0m')" +export LESSOPEN="| /usr/local/bin/highlight -O ansi %s 2>/dev/null" +export LESSPROMPT='?f%f .?ltLine %lt:?pt%pt\%:?btByte %bt:-...' +export LESSHISTFILE="-" +# }}} +# Other {{{ +#to set a title to your xterm window +set_title() +{ + echo -n "\033]0;$1\007" +} +stty erase + +export LS_COLORS='bd=38;5;68:ca=38;5;17:cd=38;5;113;1:di=38;5;30:do=38;5;127:ex=38;5;208;1:pi=38;5;126:fi=0:ln=target:mh=38;5;222;1:no=0:or=48;5;196;38;5;232;1:ow=38;5;220;1:sg=48;5;3;38;5;0:su=38;5;220;1;3;100;1:so=38;5;197:st=38;5;86;48;5;234:tw=48;5;235;38;5;139;3:*LS_COLORS=48;5;89;38;5;197;1;3;4;7:*README=38;5;220;1:*README.rst=38;5;220;1:*README.md=38;5;220;1:*LICENSE=38;5;220;1:*COPYING=38;5;220;1:*INSTALL=38;5;220;1:*COPYRIGHT=38;5;220;1:*AUTHORS=38;5;220;1:*HISTORY=38;5;220;1:*CONTRIBUTORS=38;5;220;1:*PATENTS=38;5;220;1:*VERSION=38;5;220;1:*NOTICE=38;5;220;1:*CHANGES=38;5;220;1:*.log=38;5;190:*.txt=38;5;253:*.etx=38;5;184:*.info=38;5;184:*.markdown=38;5;184:*.md=38;5;184:*.mkd=38;5;184:*.nfo=38;5;184:*.pod=38;5;184:*.rst=38;5;184:*.tex=38;5;184:*.textile=38;5;184:*.bib=38;5;178:*.json=38;5;178:*.jsonl=38;5;178:*.msg=38;5;178:*.pgn=38;5;178:*.rss=38;5;178:*.xml=38;5;178:*.fxml=38;5;178:*.toml=38;5;178:*.yaml=38;5;178:*.yml=38;5;178:*.RData=38;5;178:*.rdata=38;5;178:*.cbr=38;5;141:*.cbz=38;5;141:*.chm=38;5;141:*.djvu=38;5;141:*.pdf=38;5;141:*.PDF=38;5;141:*.mobi=38;5;141:*.epub=38;5;141:*.docm=38;5;111;4:*.doc=38;5;111:*.docx=38;5;111:*.odb=38;5;111:*.odt=38;5;111:*.rtf=38;5;111:*.odp=38;5;166:*.pps=38;5;166:*.ppt=38;5;166:*.pptx=38;5;166:*.ppts=38;5;166:*.pptxm=38;5;166;4:*.pptsm=38;5;166;4:*.csv=38;5;78:*.tsv=38;5;78:*.ods=38;5;112:*.xla=38;5;76:*.xls=38;5;112:*.xlsx=38;5;112:*.xlsxm=38;5;112;4:*.xltm=38;5;73;4:*.xltx=38;5;73:*.pages=38;5;111:*.numbers=38;5;112:*.key=38;5;166:*config=1:*cfg=1:*conf=1:*rc=1:*authorized_keys=1:*known_hosts=1:*.ini=1:*.plist=1:*.viminfo=1:*.pcf=1:*.psf=1:*.hidden-color-scheme=1:*.hidden-tmTheme=1:*.last-run=1:*.merged-ca-bundle=1:*.sublime-build=1:*.sublime-commands=1:*.sublime-keymap=1:*.sublime-settings=1:*.sublime-snippet=1:*.sublime-project=1:*.sublime-workspace=1:*.tmTheme=1:*.user-ca-bundle=1:*.epf=1:*.git=38;5;197:*.gitignore=38;5;240:*.gitattributes=38;5;240:*.gitmodules=38;5;240:*.awk=38;5;172:*.bash=38;5;172:*.bat=38;5;172:*.BAT=38;5;172:*.sed=38;5;172:*.sh=38;5;172:*.zsh=38;5;172:*.vim=38;5;172:*.ahk=38;5;41:*.py=38;5;41:*.ipynb=38;5;41:*.rb=38;5;41:*.gemspec=38;5;41:*.pl=38;5;208:*.PL=38;5;160:*.t=38;5;114:*.msql=38;5;222:*.mysql=38;5;222:*.pgsql=38;5;222:*.sql=38;5;222:*.tcl=38;5;64;1:*.r=38;5;49:*.R=38;5;49:*.gs=38;5;81:*.clj=38;5;41:*.cljs=38;5;41:*.cljc=38;5;41:*.cljw=38;5;41:*.scala=38;5;41:*.dart=38;5;51:*.asm=38;5;81:*.cl=38;5;81:*.lisp=38;5;81:*.rkt=38;5;81:*.lua=38;5;81:*.moon=38;5;81:*.c=38;5;81:*.C=38;5;81:*.h=38;5;110:*.H=38;5;110:*.tcc=38;5;110:*.c++=38;5;81:*.h++=38;5;110:*.hpp=38;5;110:*.hxx=38;5;110:*.ii=38;5;110:*.M=38;5;110:*.m=38;5;110:*.cc=38;5;81:*.cs=38;5;81:*.cp=38;5;81:*.cpp=38;5;81:*.cxx=38;5;81:*.cr=38;5;81:*.go=38;5;81:*.f=38;5;81:*.F=38;5;81:*.for=38;5;81:*.ftn=38;5;81:*.f90=38;5;81:*.F90=38;5;81:*.f95=38;5;81:*.F95=38;5;81:*.f03=38;5;81:*.F03=38;5;81:*.f08=38;5;81:*.F08=38;5;81:*.nim=38;5;81:*.nimble=38;5;81:*.s=38;5;110:*.S=38;5;110:*.rs=38;5;81:*.scpt=38;5;219:*.swift=38;5;219:*.sx=38;5;81:*.vala=38;5;81:*.vapi=38;5;81:*.hi=38;5;110:*.hs=38;5;81:*.lhs=38;5;81:*.agda=38;5;81:*.lagda=38;5;81:*.lagda.tex=38;5;81:*.lagda.rst=38;5;81:*.lagda.md=38;5;81:*.agdai=38;5;110:*.pyc=38;5;240:*.tf=38;5;168:*.tfstate=38;5;168:*.tfvars=38;5;168:*.css=38;5;125;1:*.less=38;5;125;1:*.sass=38;5;125;1:*.scss=38;5;125;1:*.htm=38;5;125;1:*.html=38;5;125;1:*.jhtm=38;5;125;1:*.mht=38;5;125;1:*.eml=38;5;125;1:*.mustache=38;5;125;1:*.coffee=38;5;074;1:*.java=38;5;074;1:*.js=38;5;074;1:*.mjs=38;5;074;1:*.jsm=38;5;074;1:*.jsp=38;5;074;1:*.php=38;5;81:*.ctp=38;5;81:*.twig=38;5;81:*.vb=38;5;81:*.vba=38;5;81:*.vbs=38;5;81:*Dockerfile=38;5;155:*.dockerignore=38;5;240:*Makefile=38;5;155:*MANIFEST=38;5;243:*pm_to_blib=38;5;240:*.nix=38;5;155:*.dhall=38;5;178:*.rake=38;5;155:*.am=38;5;242:*.in=38;5;242:*.hin=38;5;242:*.scan=38;5;242:*.m4=38;5;242:*.old=38;5;242:*.out=38;5;242:*.SKIP=38;5;244:*.diff=48;5;197;38;5;232:*.patch=48;5;197;38;5;232;1:*.bmp=38;5;97:*.dicom=38;5;97:*.tiff=38;5;97:*.tif=38;5;97:*.TIFF=38;5;97:*.cdr=38;5;97:*.flif=38;5;97:*.gif=38;5;97:*.icns=38;5;97:*.ico=38;5;97:*.jpeg=38;5;97:*.JPG=38;5;97:*.jpg=38;5;97:*.nth=38;5;97:*.png=38;5;97:*.psd=38;5;97:*.pxd=38;5;97:*.pxm=38;5;97:*.xpm=38;5;97:*.webp=38;5;97:*.ai=38;5;99:*.eps=38;5;99:*.epsf=38;5;99:*.drw=38;5;99:*.ps=38;5;99:*.svg=38;5;99:*.avi=38;5;114:*.divx=38;5;114:*.IFO=38;5;114:*.m2v=38;5;114:*.m4v=38;5;114:*.mkv=38;5;114:*.MOV=38;5;114:*.mov=38;5;114:*.mp4=38;5;114:*.mpeg=38;5;114:*.mpg=38;5;114:*.ogm=38;5;114:*.rmvb=38;5;114:*.sample=38;5;114:*.wmv=38;5;114:*.3g2=38;5;115:*.3gp=38;5;115:*.gp3=38;5;115:*.webm=38;5;115:*.gp4=38;5;115:*.asf=38;5;115:*.flv=38;5;115:*.ts=38;5;115:*.ogv=38;5;115:*.f4v=38;5;115:*.VOB=38;5;115;1:*.vob=38;5;115;1:*.ass=38;5;117:*.srt=38;5;117:*.ssa=38;5;117:*.sub=38;5;117:*.sup=38;5;117:*.vtt=38;5;117:*.3ga=38;5;137;1:*.S3M=38;5;137;1:*.aac=38;5;137;1:*.amr=38;5;137;1:*.au=38;5;137;1:*.caf=38;5;137;1:*.dat=38;5;137;1:*.dts=38;5;137;1:*.fcm=38;5;137;1:*.m4a=38;5;137;1:*.mid=38;5;137;1:*.mod=38;5;137;1:*.mp3=38;5;137;1:*.mp4a=38;5;137;1:*.oga=38;5;137;1:*.ogg=38;5;137;1:*.opus=38;5;137;1:*.s3m=38;5;137;1:*.sid=38;5;137;1:*.wma=38;5;137;1:*.ape=38;5;136;1:*.aiff=38;5;136;1:*.cda=38;5;136;1:*.flac=38;5;136;1:*.alac=38;5;136;1:*.midi=38;5;136;1:*.pcm=38;5;136;1:*.wav=38;5;136;1:*.wv=38;5;136;1:*.wvc=38;5;136;1:*.afm=38;5;66:*.fon=38;5;66:*.fnt=38;5;66:*.pfb=38;5;66:*.pfm=38;5;66:*.ttf=38;5;66:*.otf=38;5;66:*.woff=38;5;66:*.woff2=38;5;66:*.PFA=38;5;66:*.pfa=38;5;66:*.7z=38;5;40:*.a=38;5;40:*.arj=38;5;40:*.bz2=38;5;40:*.cpio=38;5;40:*.gz=38;5;40:*.lrz=38;5;40:*.lz=38;5;40:*.lzma=38;5;40:*.lzo=38;5;40:*.rar=38;5;40:*.s7z=38;5;40:*.sz=38;5;40:*.tar=38;5;40:*.tgz=38;5;40:*.xz=38;5;40:*.z=38;5;40:*.zip=38;5;40:*.zipx=38;5;40:*.zoo=38;5;40:*.zpaq=38;5;40:*.zst=38;5;40:*.zstd=38;5;40:*.zz=38;5;40:*.apk=38;5;215:*.ipa=38;5;215:*.deb=38;5;215:*.rpm=38;5;215:*.jad=38;5;215:*.jar=38;5;215:*.cab=38;5;215:*.pak=38;5;215:*.pk3=38;5;215:*.vdf=38;5;215:*.vpk=38;5;215:*.bsp=38;5;215:*.dmg=38;5;215:*.r[0-9]{0,2}=38;5;239:*.zx[0-9]{0,2}=38;5;239:*.z[0-9]{0,2}=38;5;239:*.part=38;5;239:*.iso=38;5;124:*.bin=38;5;124:*.nrg=38;5;124:*.qcow=38;5;124:*.sparseimage=38;5;124:*.toast=38;5;124:*.vcd=38;5;124:*.vmdk=38;5;124:*.accdb=38;5;60:*.accde=38;5;60:*.accdr=38;5;60:*.accdt=38;5;60:*.db=38;5;60:*.fmp12=38;5;60:*.fp7=38;5;60:*.localstorage=38;5;60:*.mdb=38;5;60:*.mde=38;5;60:*.sqlite=38;5;60:*.typelib=38;5;60:*.nc=38;5;60:*.pacnew=38;5;33:*.un~=38;5;241:*.orig=38;5;241:*.BUP=38;5;241:*.bak=38;5;241:*.o=38;5;241:*core=38;5;241:*.mdump=38;5;241:*.rlib=38;5;241:*.dll=38;5;241:*.swp=38;5;244:*.swo=38;5;244:*.tmp=38;5;244:*.sassc=38;5;244:*.pid=38;5;248:*.state=38;5;248:*lockfile=38;5;248:*lock=38;5;248:*.err=38;5;160;1:*.error=38;5;160;1:*.stderr=38;5;160;1:*.aria2=38;5;241:*.dump=38;5;241:*.stackdump=38;5;241:*.zcompdump=38;5;241:*.zwc=38;5;241:*.pcap=38;5;29:*.cap=38;5;29:*.dmp=38;5;29:*.DS_Store=38;5;239:*.localized=38;5;239:*.CFUserTextEncoding=38;5;239:*.allow=38;5;112:*.deny=38;5;196:*.service=38;5;45:*@.service=38;5;45:*.socket=38;5;45:*.swap=38;5;45:*.device=38;5;45:*.mount=38;5;45:*.automount=38;5;45:*.target=38;5;45:*.path=38;5;45:*.timer=38;5;45:*.snapshot=38;5;45:*.application=38;5;116:*.cue=38;5;116:*.description=38;5;116:*.directory=38;5;116:*.m3u=38;5;116:*.m3u8=38;5;116:*.md5=38;5;116:*.properties=38;5;116:*.sfv=38;5;116:*.theme=38;5;116:*.torrent=38;5;116:*.urlview=38;5;116:*.webloc=38;5;116:*.lnk=38;5;39:*CodeResources=38;5;239:*PkgInfo=38;5;239:*.nib=38;5;57:*.car=38;5;57:*.dylib=38;5;241:*.entitlements=1:*.pbxproj=1:*.strings=1:*.storyboard=38;5;196:*.xcconfig=1:*.xcsettings=1:*.xcuserstate=1:*.xcworkspacedata=1:*.xib=38;5;208:*.asc=38;5;192;3:*.bfe=38;5;192;3:*.enc=38;5;192;3:*.gpg=38;5;192;3:*.signature=38;5;192;3:*.sig=38;5;192;3:*.p12=38;5;192;3:*.pem=38;5;192;3:*.pgp=38;5;192;3:*.p7s=38;5;192;3:*id_dsa=38;5;192;3:*id_rsa=38;5;192;3:*id_ecdsa=38;5;192;3:*id_ed25519=38;5;192;3:*.32x=38;5;213:*.cdi=38;5;213:*.fm2=38;5;213:*.rom=38;5;213:*.sav=38;5;213:*.st=38;5;213:*.a00=38;5;213:*.a52=38;5;213:*.A64=38;5;213:*.a64=38;5;213:*.a78=38;5;213:*.adf=38;5;213:*.atr=38;5;213:*.gb=38;5;213:*.gba=38;5;213:*.gbc=38;5;213:*.gel=38;5;213:*.gg=38;5;213:*.ggl=38;5;213:*.ipk=38;5;213:*.j64=38;5;213:*.nds=38;5;213:*.nes=38;5;213:*.sms=38;5;213:*.8xp=38;5;121:*.8eu=38;5;121:*.82p=38;5;121:*.83p=38;5;121:*.8xe=38;5;121:*.stl=38;5;216:*.dwg=38;5;216:*.ply=38;5;216:*.wrl=38;5;216:*.pot=38;5;7:*.pcb=38;5;7:*.mm=38;5;7:*.gbr=38;5;7:*.scm=38;5;7:*.xcf=38;5;7:*.spl=38;5;7:*.Rproj=38;5;11:*.sis=38;5;7:*.1p=38;5;7:*.3p=38;5;7:*.cnc=38;5;7:*.def=38;5;7:*.ex=38;5;7:*.example=38;5;7:*.feature=38;5;7:*.ger=38;5;7:*.ics=38;5;7:*.map=38;5;7:*.mf=38;5;7:*.mfasl=38;5;7:*.mi=38;5;7:*.mtx=38;5;7:*.pc=38;5;7:*.pi=38;5;7:*.plt=38;5;7:*.pm=38;5;7:*.rdf=38;5;7:*.ru=38;5;7:*.sch=38;5;7:*.sty=38;5;7:*.sug=38;5;7:*.tdy=38;5;7:*.tfm=38;5;7:*.tfnt=38;5;7:*.tg=38;5;7:*.vcard=38;5;7:*.vcf=38;5;7:*.xln=38;5;7:*.iml=38;5;166:'; +# }}} +# vim:foldmethod=marker:foldlevel=0 diff --git a/X11/defaults b/X11/defaults new file mode 100644 index 0000000..24e7b3e --- /dev/null +++ b/X11/defaults @@ -0,0 +1,5 @@ +#include "/home/ghoul/.config/X11/xterm" +#include "/home/ghoul/.config/X11/xft" +#include "/home/ghoul/.config/X11/xlock" +#include "/home/ghoul/.config/X11/urxvt" +#include "/home/ghoul/.config/X11/colors/tano" diff --git a/X11/urxvt b/X11/urxvt new file mode 100644 index 0000000..b6fa57f --- /dev/null +++ b/X11/urxvt @@ -0,0 +1,71 @@ +URxvt*termName: xterm-256color +URxvt*name: URxvt +URxvt*loginShell: false +URxvt*locale: true +URxvt*utf8: true +URxvt*iso14755: false +URxvt*iso14755_52: false +URxvt*preeditType: Root +URxvt*altSendsEscape: true +URxvt*eightBitInput: false +URxvt*metaSendsEscape: true +URxvt*utmpInhibit: false +URxvt.saveLines: 9999 +URxvt.iso14755: false +URxvt.iso14755_52: false +URxvt.depth: 32 +URxvt*cutchars: `"()'*<>[]{|} +URxvt*scrollBar: false +URxvt*scrollstyle: xterm +URxvt*thickness: 10 +URxvt*secondaryScroll: true +URxvt*buffered: true +URxvt*urgentOnBell: true +URxvt*visualBell: true +URxvt*mapAlert: true +URxvt*transparent: false +URxvt*renderFont: true +URxvt*shading: 25 +URxvt*fading: 0 +URxvt*intensityStyles: true +URxvt*secondaryScreen: 1 +URxvt*scrollTtyOutput: false +URxvt*scrollWithBuffer: true +URxvt*scrollTtyKeypress: true + + +! fonts +!URxvt*font: xft:hax:style=Regular:size=11:hinting=full:antialias=true +URxvt*font: xft:JetBrainsMono Nerd Font:style=Regular:size=9:hinting=full:antialias=true + +URxvt*boldFont: xft:JetBrainsMono Nerd Font:style=Bold:size=9:hinting=full:antialias=true +URxvt*italicFont: xft:JetBrainsMono Nerd Font:style=Italic:size=9:hinting=full:antialias=true +URxvt*bolditalicFont: xft:JetBrainsMono Nerd Font:style=Bold Italic:size=9:hinting=full:antialias=true + +URxvt*letterSpace: -1 +URxvt*lineSpace: -1 + +! extensions +URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +URxvt.copyCommand: xclip -i -selection clipboard +URxvt.pasteCommand: xclip -o -selection clipboard +URxvt.keysym.M-c: perl:clipboard:copy +URxvt.keysym.M-v: perl:clipboard:paste +URxvt.keysym.M-C-v: perl:clipboard:paste_escaped +URxvt.keysym.M-Escape: perl:keyboard-select:activate +URxvt.keysym.M-s: perl:keyboard-select:search +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.urlLauncher: links -g +URxvt.underlineURLs: true +URxvt.urlButton: 1 +URxvt.keysym.C-Shift-Up: command:\033]720;1\007 +URxvt.keysym.C-Shift-Down: command:\033]721;1\007 +URxvt.keysym.C-Shift-Right: \033[1;5C +URxvt.keysym.C-Shift-Left: \033[1;5D +URxvt.url-select.autocopy: true +URxvt.url-select.underline: true +URxvt.clipboard.autocopy: true +URxvt.clipboard.copycmd: xclip -i -selection clipboard +URxvt.clipboard.pastecmd: xclip -o -selection clipboard +URxvt*keysym.Shift-Up: command:\033]720;1\007 +URxvt*keysym.Shift-Down: command:\033]721;1\007 @@ -0,0 +1,6 @@ +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintslight +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgb diff --git a/X11/xlock b/X11/xlock new file mode 100644 index 0000000..6aaceb1 --- /dev/null +++ b/X11/xlock @@ -0,0 +1,16 @@ +XIdle*position: sw +XIdle*delay: 1 +XIdle*timeout: 300 + +XLock.dpmsoff: 1 +XLock.description: off +XLock.echokeys: true +XLock*echokey: * +XLock.info: +XLock.background: black +XLock.foreground: white +XLock.mode: blank +XLock.username: user: +XLock.password: pass: +XLock.font: -misc-fixed-medium-r-normal-*-20-*-*-*-*-*-iso10646-1 +XLock.planfont: -misc-fixed-medium-r-normal-*-18-*-*-*-*-*-iso10646-1 diff --git a/X11/xsession b/X11/xsession new file mode 100755 index 0000000..0a448bf --- /dev/null +++ b/X11/xsession @@ -0,0 +1,23 @@ +#!/bin/sh + +set -m +atexit() { + kill -TERM -- -$$ $(printf "-%s " $(jobs -p)) +} + +trap 'atexit' EXIT + +xrandr --dpi 96 +unclutter & +sct 4200 +xsetroot -solid "black" +xidle -delay 5 -nw -program "/usr/X11R6/bin/xlock -dpmsstandby 5" -timeout 600 & +setxkbmap -layout us -variant altgr-intl -option caps:escape -option compose:altgr -option terminate:ctrl_alt_bksp +export QT_QPA_PLATFORMTHEME=qt5ct +. $HOME/.profile +xrdb -load $HOME/.config/X11/defaults +xset b off +#exec cwm -c $HOME/.config/cwm/cwmrc +exec sxhkd & +#urxvtd -q -f -o & +exec bspwm diff --git a/X11/xterm b/X11/xterm new file mode 100644 index 0000000..2efe461 --- /dev/null +++ b/X11/xterm @@ -0,0 +1,49 @@ +XTerm*termName: xterm-256color +XTerm*loginShell:true +XTerm.vt100.geometry: 80x25 +XTerm*metaSendsEscape: true +XTerm*utf8: true +XTerm*locale: true +XTerm*utf8Title: true +xterm*utf8Fonts: always +XTerm*alternateScroll: true +XTerm*allowMouseOps: true +XTerm*bellIsUrgent: true +XTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48 +XTerm*scrollBar: false +XTerm*pointerMode: 2 +XTerm*allowBoldFonts: true +XTerm*multiScroll: on +XTerm*jumpScroll: on +XTerm*scrollTtyOutput: true +XTerm*scrollKey: true +XTerm*cutToBeginningOfLine: false +XTerm*cutNewLine: false +XTerm*on2Clicks: word +XTerm*on3Click: line +XTerm*selectToClipboard: true +XTerm*saveLines: 16384 +XTerm*internalBorder: 3 +XTerm*highlightSelection: true +XTerm*trimSelection: true +XTerm*fullscreen: never + +!XTerm*font: -misc-fixed-medium-*-normal-*-14-*-*-*-*-*-iso10646-* +!XTerm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 +!XTerm*faceName : DejaVu Sans Mono:style=Book:antialias=false +!Xterm*FaceName : Unifont:pixelsize=16:antialias=true:hinting=full +!XTerm*faceName : Cozette:pixelsize=16 +!XTerm*faceName : GohuFont:pixelsize=14 +XTerm*faceName : JetBrainsMono Nerd Font:sytle=Regular:size=9:hinting=full:antialias=true +XTerm*faceNameDoublesize: WenQuanYi WenQuanYi Bitmap Song +XTerm*faceSize: 10 + +XTerm*backarrowKey: false +*VT100*translations: #override \n\ + ShiftCtrl<Key>C: copy-selection(CLIPBOARD)\n\ + ShiftCtrl<Key>V: insert-selection(CLIPBOARD)\n\ + <Key>Backspace: string(0x7F)\n\ + <Key>Delete: string("\033[3~")\n\ + <Key>Home: string("\033[1~")\n\ + <Key>End: string("\033[4~") +*ttyModes: erase ^? diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc new file mode 100755 index 0000000..393c4ca --- /dev/null +++ b/bspwm/bspwmrc @@ -0,0 +1,46 @@ +#!/bin/sh + +bspc monitor -d 1 2 3 4 5 6 7 8 9 10 +bspc config bottom_padding 0 +bspc config top_padding 0 +bspc config border_width 1 +bspc config window_gap 4 +bspc config split_ratio 0.5 + +# Opciones +bspc config gapless_monocle true +bspc config ignore_ewmh_focus true +bspc config pointer_follows_focus true +bspc config removal_adjustment true +bspc config remove_unplugged_monitors true +bspc config remove_disabled_monitors true +bspc config single_monocle true +bspc config borderless_monocle true +bspc config honor_size_hints false +bspc config directional_focus_tightness low +bspc config automatic_scheme longest_side +bspc config initial_polarity second_child +bspc config click_to_focus any +bspc config pointer_modifier mod4 +bspc config pointer_action1 resize_side +bspc config pointer_action2 resize_corner +bspc config pointer_action3 move + +# xrdb +get_xrdb() { + xrdb -query | awk -v pat="$1" '$0~pat {print $2}' +} + +# Colores +bspc config normal_border_color "$(get_xrdb color0)" +bspc config focused_border_color "$(get_xrdb color3)" +bspc config active_border_color "$(get_xrdb color8)" +bspc config presel_feedback_color "$(get_xrdb color2)" + +# Flotantes +bspc rule -a mpv state=floating +bspc rule -a Zathura state=tiled +bspc rule -a Links desktop='^2' + +$TERMINAL & +#urxvt & @@ -1,3 +1,4 @@ +set term=xterm-256color set autoindent set ignorecase set nolist @@ -16,8 +17,12 @@ set leftright set extended set iclower set searchincr +set verbose +set redraw set para=BlBdPpIt -set sect=ShSs +set sections=SeAhBhChDh +set fileencoding=UTF-8 + map ZZ m map ) 0 map 0 ^ @@ -27,3 +32,56 @@ map m ' map M ` map Y y$ map gg 1G +map G GA +map Q :wq! +map R :ex + +""Formatting +" indent lines +map gi :%!indent -i4 +" reformat, wrap text at 72ch +map gf :%!fmt -w 80 % +" reformat paragraph +map gp :?^$?,//!fmt -w 80 +" sort lines alphabetically +map gs :%!sort -u +" substitute patterns up to current position +map gr :^,.s///g +" remove leading tabs +map gl :%s/^[ \t]*// +" double space, whole file +map gd :%!sed G +" expand TABS out in buffer +map ge 'a!'bexpand +"comment lines in buffer +map gc :'a,'bs/^/#/ +" uncomment lines in buffer +map gu :'a,'bs/# *// +" remove trailing spaces +map gt :%s/ *$// + +""Manipulating Buffers +" display vi buffers +map K :display buffers +" cut current line to buffer '1' +map C "1Y$dd +" paste '1' after current position +map V "1PASTE +" mark current position as begin of new buffer +map # ma +" mark current position as end of new buffer +map * mb +" append new buffer to next line +map bv :'a,'b co . +" delete marked buffer +map be :'a,'b del . +" move marked buffer to 'n' line +map bm :'a,'b mo . +" convert marked buffer to UPPERCASE +map bc :'a,'bs/.*/\U&/ +" convert marked buffer to LOWERCASE +map bl :'a,'bs/.*/\L&/ +" trim white space from marked buffer +map bt :'a,'bs/[ ^I][ ^I]*$//g +" write marked buffer to file +map bw :'a;'bw @@ -1,3 +1,16 @@ +[user] + name = deadguy + email = dgy@texto-plano.xyz + signingkey = E276608B5A49E3D3! +[init] + defaultBranch = main +[sendemail] + from = "deadguy <dgy@texto-plano.xyz>" + smtpuser = dgy + smtpserver = texto-plano.xyz + smtpserverport = 587 + smtpencryption = tls + suppresscc = self [alias] st = status co = checkout @@ -63,7 +76,7 @@ line-numbers-plus-style = green italic [web] - browser = firefox + browser = links -g [credential] helper = /usr/local/libexec/git/git-credential-cache @@ -122,3 +135,4 @@ [help] autocorrect = 1 + diff --git a/gtk-2.0/.gtkrc-2.0 b/gtk-2.0/.gtkrc-2.0 new file mode 100644 index 0000000..f9a2e30 --- /dev/null +++ b/gtk-2.0/.gtkrc-2.0 @@ -0,0 +1,20 @@ +# DO NOT EDIT! This file will be overwritten by LXAppearance. +# Any customization should be done in ~/.gtkrc-2.0.mine instead. + +include "/home/ghoul/.gtkrc-2.0.mine" +gtk-theme-name="Zukitre-dark" +gtk-icon-theme-name="Adwaita" +gtk-font-name="Sans 10" +gtk-cursor-theme-name="Adwaita" +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR +gtk-button-images=0 +gtk-menu-images=0 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintslight" +gtk-xft-rgba="rgb" +gtk-modules="gail:atk-bridge" diff --git a/ksh/conf/alias.ksh b/ksh/conf/alias.ksh index 11caebf..daf4ab6 100644 --- a/ksh/conf/alias.ksh +++ b/ksh/conf/alias.ksh @@ -4,17 +4,6 @@ else LS='ls' fi -# Programas -alias \ - v="$EDITOR" \ - m='neomutt' \ - xi="doas pkg_add" \ - vv='nvi' \ - se="doas nvim" \ - irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \ - del='doas pkg_delete -cmvvv' \ - updatedb='doas /usr/libexec/locate.updatedb' - # Tmux alias tmux='tmux -2' if [[ -n $TMUX ]]; then @@ -36,21 +25,30 @@ alias \ mount='doas mount -v' \ umount='doas umount -v' -# Con opciones por defecto +# Programas con opciones por defecto alias \ + v="$EDITOR" \ + m='neomutt' \ ls="$LS -FAGt" \ ll='ls -cohltFAG' \ df='df -hT --total' \ - free='free -ht' \ du='du -sh' \ - ping='ping -c 5' \ + xi="doas pkg_add" \ + vv='nvi' \ + se="doas nvim" \ + ytv='pipe-viewer' \ + w3m='w3m -no-cookie -v' \ + irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \ + del='doas pkg_delete -cmvvv' \ + upd='doas pkg_add -Uu' \ + pwn='chmod +x' \ dfc='dfc -dmT' \ + rat='tar -xf' \ + ping='ping -c 5' \ + free='free -ht' \ wget='wget --no-hsts' \ - -# Comandos -alias \ + dbup='doas /usr/libexec/locate.updatedb' \ tplano='mosh tplano' \ reboot='doas shutdown -r now' \ shutdown='doas shutdown -p now' \ - pwn='chmod +x' \ - rat='tar -xf' + dirdl='wget -r --no-parent -l1 -e robots=off --reject="index.html" --no-hsts' diff --git a/mpv/input.conf b/mpv/input.conf new file mode 100644 index 0000000..44f812a --- /dev/null +++ b/mpv/input.conf @@ -0,0 +1,177 @@ +# mpv keybindings +# If this is enabled, treat all the following bindings as default. +#default-bindings start + +#MOUSE_BTN0 ignore # don't do anything +#MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off +#MOUSE_BTN2 cycle pause # toggle pause on/off +#MOUSE_BTN3 seek 10 +#MOUSE_BTN4 seek -10 +#MOUSE_BTN5 add volume -2 +#MOUSE_BTN6 add volume 2 + +# Mouse wheels, touchpad or other input devices that have axes +# if the input devices supports precise scrolling it will also scale the +# numeric value accordingly +#AXIS_UP seek 10 +#AXIS_DOWN seek -10 +#AXIS_LEFT seek 5 +#AXIS_RIGHT seek -5 + +## Seek units are in seconds, but note that these are limited by keyframes +#RIGHT seek 5 +#LEFT seek -5 +#UP seek 60 +#DOWN seek -60 +# Do smaller, always exact (non-keyframe-limited), seeks with shift. +# Don't show them on the OSD (no-osd). +#Shift+RIGHT no-osd seek 1 exact +#Shift+LEFT no-osd seek -1 exact +#Shift+UP no-osd seek 5 exact +#Shift+DOWN no-osd seek -5 exact +# Skip to previous/next subtitle (subject to some restrictions; see manpage) +#Ctrl+LEFT no-osd sub-seek -1 +#Ctrl+RIGHT no-osd sub-seek 1 +#PGUP add chapter 1 # skip to next chapter +#PGDWN add chapter -1 # skip to previous chapter +#Shift+PGUP seek 600 +#Shift+PGDWN seek -600 +#[ multiply speed 0.9091 # scale playback speed +#] multiply speed 1.1 +#{ multiply speed 0.5 +#} multiply speed 2.0 +#BS set speed 1.0 # reset speed to normal +#q quit +#Q quit-watch-later +#q {encode} quit 4 +#ESC set fullscreen no +#ESC {encode} quit 4 +#p cycle pause # toggle pause/playback mode +#. frame-step # advance one frame and pause +#, frame-back-step # go back by one frame and pause +#SPACE cycle pause +#> playlist-next # skip to next file +#ENTER playlist-next # skip to next file +#< playlist-prev # skip to previous file +#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode +#o show-progress +#P show-progress +#I show-text "${filename}" # display filename in osd +#z add sub-delay -0.1 # subtract 100 ms delay from subs +#x add sub-delay +0.1 # add +#ctrl++ add audio-delay 0.100 # this changes audio/video sync +#ctrl+- add audio-delay -0.100 +#9 add volume -2 +#/ add volume -2 +#0 add volume 2 +#* add volume 2 +#m cycle mute +#1 add contrast -1 +#2 add contrast 1 +#3 add brightness -1 +#4 add brightness 1 +#5 add gamma -1 +#6 add gamma 1 +#7 add saturation -1 +#8 add saturation 1 +#Alt+0 set window-scale 0.5 +#Alt+1 set window-scale 1.0 +#Alt+2 set window-scale 2.0 +# toggle deinterlacer (automatically inserts or removes required filter) +#d cycle deinterlace +#r add sub-pos -1 # move subtitles up +#t add sub-pos +1 # down +#v cycle sub-visibility +# stretch SSA/ASS subtitles with anamorphic videos to match historical +#V cycle sub-ass-vsfilter-aspect-compat +# switch between applying no style overrides to SSA/ASS subtitles, and +# overriding them almost completely with the normal subtitle style +#u cycle-values sub-ass-style-override "force" "no" +#j cycle sub # cycle through subtitles +#J cycle sub down # ...backwards +#SHARP cycle audio # switch audio streams +#_ cycle video +#T cycle ontop # toggle video window ontop of other windows +#f cycle fullscreen # toggle fullscreen +#s screenshot # take a screenshot +#S screenshot video # ...without subtitles +#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled +#Alt+s screenshot each-frame # automatically screenshot every frame +#w add panscan -0.1 # zoom out with -panscan 0 -fs +#e add panscan +0.1 # in +# cycle video aspect ratios; "-1" is the container aspect +#A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1" +#POWER quit +#PLAY cycle pause +#PAUSE cycle pause +#PLAYPAUSE cycle pause +#STOP quit +#FORWARD seek 60 +#REWIND seek -60 +#NEXT playlist-next +#PREV playlist-prev +#VOLUME_UP add volume 2 +#VOLUME_DOWN add volume -2 +#MUTE cycle mute +#CLOSE_WIN quit +#CLOSE_WIN {encode} quit 4 +#E cycle edition # next edition +#l ab-loop # Set/clear A-B loop points +#L cycle-values loop "inf" "no" # toggle infinite looping +#ctrl+c quit 4 + +# Apple Remote section +#AR_PLAY cycle pause +#AR_PLAY_HOLD quit +#AR_CENTER cycle pause +#AR_CENTER_HOLD quit +#AR_NEXT seek 10 +#AR_NEXT_HOLD seek 120 +#AR_PREV seek -10 +#AR_PREV_HOLD seek -120 +#AR_MENU show-progress +#AR_MENU_HOLD cycle mute +#AR_VUP add volume 2 +#AR_VUP_HOLD add chapter 1 +#AR_VDOWN add volume -2 +#AR_VDOWN_HOLD add chapter -1 + +# For tv:// +#h cycle tv-channel -1 # previous channel +#k cycle tv-channel +1 # next channel + +# For dvb:// +#H cycle dvb-channel-name -1 # previous channel +#K cycle dvb-channel-name +1 # next channel + +# +# Legacy bindings (may or may not be removed in the future) +# +#! add chapter -1 # skip to previous chapter +#@ add chapter 1 # next + +# +# Not assigned by default +# (not an exhaustive list of unbound commands) +# + +# ? add sub-scale +0.1 # increase subtitle font size +# ? add sub-scale -0.1 # decrease subtitle font size +# ? sub-step -1 # immediately display next subtitle +# ? sub-step +1 # previous +# ? cycle angle # switch DVD/Bluray angle +# ? add balance -0.1 # adjust audio balance in favor of left +# ? add balance 0.1 # right +# ? cycle sub-forced-only # toggle DVD forced subs +# ? cycle program # cycle transport stream programs +# ? stop # stop playback (quit or enter idle mode) + +l seek 5 +h seek -5 +j seek -60 +k seek 60 +# increase subtitle font size +ALT+k add sub-scale +0.1 + +# decrease subtitle font size +ALT+j add sub-scale -0.1 diff --git a/mpv/mpv.conf b/mpv/mpv.conf new file mode 100644 index 0000000..6a93be2 --- /dev/null +++ b/mpv/mpv.conf @@ -0,0 +1,30 @@ +ytdl-format=bestvideo[height<=?420][fps<=?30][vcodec!=?vp9]+bestaudio/best +vo=xv +audio-pitch-correction=no +quiet=yes +pause=no +vd-lavc-skiploopfilter=all +geometry=50%:50% +alang=eng,en +slang=eng +autofit-larger=70%x70% +stop-playback-on-init-failure=yes +ytdl-raw-options=youtube-skip-dash-manifest=,no-call-home=,no-cache-dir=,geo-bypass= +osc=yes +screenshot-format=png +screenshot-directory="~/img/scrot" +osd-level=1 +osd-duration="3500" +osd-font="Noto Sans" +osd-font-size="25" +osd-border-size="2" +osd-margin-x="10" +osd-margin-y="10" +osd-bar-align-x="0" +osd-bar-align-y="0.75" +cursor-autohide=1000 +save-position-on-quit +no-border +msg-module +msg-color +audio-display=no diff --git a/pipe-viewer/pipe-viewer.conf b/pipe-viewer/pipe-viewer.conf new file mode 100644 index 0000000..9e45f9c --- /dev/null +++ b/pipe-viewer/pipe-viewer.conf @@ -0,0 +1,124 @@ +#!/usr/bin/perl + +# CLI Pipe Viewer 0.2.3 - configuration file + +our $CONFIG = { + api_host => "auto", + auto_captions => 0, + autoplay_mode => 0, + bypass_age_gate_with_proxy => 0, + cache_dir => "/tmp/pipe-viewer", + colors => 1, + comments_order => "top", + confirm => 0, + convert_cmd => "ffmpeg -i *IN* *OUT*", + convert_to => undef, + cookie_file => undef, + copy_caption => 0, + custom_channel_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { align => "left", color => "bold blue", text => "*AUTHOR*", width => "55%" }, + { align => "right", color => "green", text => "*VIDEOS* videos", width => 14 }, + { + align => "right", + color => "green", + text => "*SUBS_SHORT* subs", + width => 10, + }, + ], + custom_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { align => "left", color => "bold blue", text => "*TITLE*", width => "55%" }, + { align => "left", color => "yellow", text => "*AUTHOR*", width => "15%" }, + { align => "right", color => "green", text => "*AGE_SHORT*", width => 3 }, + { align => "right", color => "blue", text => "*TIME*", width => 8 }, + ], + custom_playlist_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { align => "left", color => "bold blue", text => "*TITLE*", width => "55%" }, + { align => "right", color => "green", text => "*ITEMS* videos", width => 14 }, + { align => "left", color => "magenta", text => "*AUTHOR*", width => "20%" }, + ], + dash => 1, + date => undef, + debug => 0, + download_and_play => 0, + download_with_wget => 0, + download_with_ytdl => 1, + downloads_dir => "$ENV{HOME}/vid", + env_proxy => 1, + fat32safe => 0, + features => ["hd"], + ffmpeg_cmd => "/usr/local/bin/ffmpeg", + force_fallback => 0, + fullscreen => 0, + get_captions => 0, + get_term_width => 1, + hfr => 1, + highlight_color => "bold", + highlight_watched => 1, + history => 0, + history_file => "/tmp/pipe-viewer/cli-history.txt", + history_limit => 1, + http_proxy => undef, + ignore_av1 => 0, + ignored_projections => [], + interactive => 1, + keep_original_video => 0, + local_playlist_limit => 0, + maxResults => 30, + merge_into_mkv => 1, + merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", + merge_with_captions => 1, + order => undef, + page => 1, + prefer_av1 => 0, + prefer_invidious => 0, + prefer_m4a => 0, + prefer_mp4 => 0, + region => undef, + remove_played_file => 1, + resolution => "best", + saved_channels_file => "$ENV{HOME}/.config/pipe-viewer/users.txt", + show_video_info => 1, + skip_if_exists => 1, + skip_watched => 0, + split_videos => 1, + srt_languages => ["en", "es"], + subscribed_channels_file => "$ENV{HOME}/.config/pipe-viewer/subscribed_channels.txt", + subscriptions_lifetime => 600, + subscriptions_limit => 10000, + thousand_separator => ".", + timeout => undef, + user_agent => undef, + video_filename_format => "*FTITLE* - *ID*.*FORMAT*", + video_player_selected => "mpv", + video_players => { + mpv => { + arg => "--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*", + audio => "--audio-file=*AUDIO*", + cmd => "/usr/local/bin/mpv", + fs => "--fullscreen", + novideo => "--no-video", + srt => "--sub-file=*SUB*", + }, + vlc => { + arg => "--quiet --play-and-exit --no-video-title-show --input-title-format=*TITLE* *VIDEO*", + audio => "--input-slave=*AUDIO*", + cmd => "vlc", + fs => "--fullscreen", + novideo => "--intf=dummy --novideo", + srt => "--sub-file=*SUB*", + }, + }, + videoDuration => undef, + watch_history => 0, + watch_history_file => "/tmp/pipe-viewer/watched.txt", + wget_cmd => "wget", + youtube_video_url => "https://www.youtube-nocookie.com/watch?v=%s", + ytdl => 1, + ytdl_cmd => "/usr/local/bin/yt-dlp", + ytdlp_comments => 0, + ytdlp_max_comments => 10, + ytdlp_max_replies => 3, +} diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc new file mode 100644 index 0000000..f86e174 --- /dev/null +++ b/sxhkd/sxhkdrc @@ -0,0 +1,49 @@ +# BSPWM Hotkeys +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} + +super + {_,shift,ctrl,alt} + {h,j,k,l} + {bspc node -f,mover,agrandar,bspc node -p} {west,south,north,east} + +super + {1-9,0} + bspc desktop -f {1-9,10} + +super + shift + {1-9,0} + bspc node -d {1-9,10} + +super + ctrl + {1-9,0} + id=$(bspc query -N -n); bspc node -d {1-9,10}; bspc node -f ${id} + +super + {equal, plus, minus} + bspc node -l {normal, above, below} + +super + alt + space + bspc node -p cancel + +super + {Up,Down,Left,Right} + bspc node -f @{parent,brother,first,second} + +super + m + bspc monitor -f last + +# Run Applications +super + {_,shift} + y + minve {hide,show} + +super + {b,space} + {links -g searx.be,dmenu_run} + +super + {_,shift} + g + {grabar,corte} + +super + {z,x,v} + $TERMINAL {_,-title flota,-title flota -e cmixer} + +ctrl + alt + {x,r} + {xkill,bspc wm -r} + +Print + pantallazo diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 009eca5..e65456a 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -29,23 +29,24 @@ set -g bell-action none # Statusbar set -g set-titles on -set -g pane-border-status off -set -g automatic-rename-format '#{s/ksh//:pane_current_command}' -set -g pane-border-style bg=default,fg=colour3 -set -g pane-active-border-style bg=default,fg=colour3 +set -g pane-border-status top +set -g status-position top +set -g pane-border-style bg=default,fg=colour0 +set -g pane-active-border-style bg=default,fg=colour0 set -g mode-style fg=colour0,bg=colour100 set -g message-command-style bg=colour0,fg=colour13 set -g message-style bg=default,fg=colour7 -set -g status-style bg=default,fg=colour244 +set -g status-style bg=green,fg=black set -g status-left '' set -g status-left-length 140 set -g status-justify left -set -g status-right '#[fg=colour13]%F #[fg=colour10]%R' +set -g status-right '%F %R ' set -g window-status-separator '' -set -g window-status-current-style bg=default,fg=colour11 -set -g window-status-activity-style bg=default,fg=colour14 -set -g window-status-format '#{pane_current_command} ' -set -g window-status-current-format '#{pane_current_command} ' +set -g window-status-style bg=colour0,fg=colour243 +set -g window-status-current-style bg=default,fg=default +set -g window-status-activity-style bg=colour0,fg=colour11 +set -g window-status-format ' #W#F ' +set -g window-status-current-format ' #W#F ' # Limpiar atajos unbind-key C-b @@ -63,7 +64,6 @@ bind a send-prefix # Varios bind-key M command-prompt -p man: "split-window -fh 'man %1'" -#bind-key R source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display "Config Reloaded" bind-key R source-file $HOME/.tmux.conf \; display "Config Reloaded" # Dividir @@ -91,7 +91,6 @@ bind-key < previous-window bind-key > next-window bind-key [ swap-window -t :-1 -d bind-key ] swap-window -t :+1 -d -bind-key Tab choose-window bind-key Enter new-window bind-key w choose-tree -Zw "swap-window -t '%%'" bind-key p choose-tree -Zw "swap-pane -t '%%'" @@ -101,5 +100,7 @@ bind-key b list-buffers bind-key B choose-buffer bind-key P capture-pane -S -32768 \; save-buffer "/tmp/printscreen" \; delete-buffer \; new-window -n "PRINTSCREEN" "$EDITOR /tmp/printscreen" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" +bind-key Tab capture-pane \; save-buffer /tmp/tmux-buffer \; delete-buffer \; display-popup -w 80% -h 60% -E "~/.local/bin/fzf_speed/fzf-speed" +bind-key v capture-pane \; save-buffer /tmp/tmux-buffer \; delete-buffer \; display-popup -w 80% -h 60% -E "cmixer" # vim: set ft=tmux: |