summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgy <dgy@texto-plano.xyz>2023-01-27 16:15:04 -0300
committerdgy <dgy@texto-plano.xyz>2023-01-27 16:15:04 -0300
commitf3d7f9b0ae67d68b61d7206cfa979d3e56354dac (patch)
treecb9e19324b2668f316c2e04ad06a8eb506414fc4
parent2453311e595c6a60a5b614d48310a9064a6fd22b (diff)
downloadbsd_dots-f3d7f9b0ae67d68b61d7206cfa979d3e56354dac.tar.gz
Carga completa de escritorio X con bspwm, xterm, ksh, nvi, y otros
-rw-r--r--.profile23
-rw-r--r--X11/defaults2
-rw-r--r--X11/urxvt2
-rwxr-xr-xX11/xsession2
-rw-r--r--X11/xterm4
-rw-r--r--dillo/dillorc53
-rw-r--r--exrc31
-rw-r--r--fontconfig/fonts.conf20
-rw-r--r--git/config37
-rw-r--r--irssi/config120
-rw-r--r--ksh/.kshrc8
-rw-r--r--ksh/conf/alias.ksh20
-rw-r--r--ksh/conf/complete.ksh1
-rw-r--r--ksh/conf/prompt.ksh58
-rw-r--r--lf/lfrc7
-rw-r--r--tmux/tmux.conf6
16 files changed, 288 insertions, 106 deletions
diff --git a/.profile b/.profile
index b5ed3c0..7e90921 100644
--- a/.profile
+++ b/.profile
@@ -33,12 +33,15 @@ export TIME_STYLE="long-iso"
export BLOCK_SIZE="'1"
export QUOTING_STYLE=literal
export CLICOLOR=1
+export GTK_IM_MODULE="fcitx"
+export QT_IM_MODULE="fcitx"
+export XMODIFIERS="@im=fcitx"
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 EDITOR="nvi"
export TERMINAL="xterm"
export VISUAL="$EDITOR"
export GIT_EDITOR="$EDITOR"
@@ -61,7 +64,7 @@ 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 \
+ --color=bg:-1,hl:#5fff87,bg+:-1,hl+:#ffaf5f,border:-1,info:#af87ff,prompt:#5fff87,pointer:#ff87d7,marker:#ff87d7,spinner:#ff87d7 \
--reverse \
--info=inline \
--no-bold \
@@ -70,25 +73,13 @@ export FZF_DEFAULT_OPTS="--cycle \
--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' '')"
-export LESS_TERMCAP_md="$(printf '%b' '')"
-export LESS_TERMCAP_me="$(printf '%b' '')"
-export LESS_TERMCAP_so="$(printf '%b' '')"
-export LESS_TERMCAP_se="$(printf '%b' '')"
-export LESS_TERMCAP_us="$(printf '%b' '')"
-export LESS_TERMCAP_ue="$(printf '%b' '')"
-export LESSOPEN="| /usr/local/bin/highlight -O ansi %s 2>/dev/null"
-export LESSPROMPT='?f%f .?ltLine %lt:?pt%pt\%:?btByte %bt:-...'
+export LESS='-iMRS -x2'
export LESSHISTFILE="-"
# }}}
# Other {{{
@@ -99,6 +90,6 @@ set_title()
}
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:';
+export LS_COLORS=ExGxcxdxCxegedabagacad
# }}}
# vim:foldmethod=marker:foldlevel=0
diff --git a/X11/defaults b/X11/defaults
index 24e7b3e..139b56f 100644
--- a/X11/defaults
+++ b/X11/defaults
@@ -2,4 +2,4 @@
#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"
+#include "/home/ghoul/.config/X11/colors/hellfire"
diff --git a/X11/urxvt b/X11/urxvt
index b6fa57f..c7605c8 100644
--- a/X11/urxvt
+++ b/X11/urxvt
@@ -14,7 +14,7 @@ URxvt.saveLines: 9999
URxvt.iso14755: false
URxvt.iso14755_52: false
URxvt.depth: 32
-URxvt*cutchars: `"()'*<>[]{|}
+URxvt*cutchars: `()'*<>[]{|}
URxvt*scrollBar: false
URxvt*scrollstyle: xterm
URxvt*thickness: 10
diff --git a/X11/xsession b/X11/xsession
index 0a448bf..ab59281 100755
--- a/X11/xsession
+++ b/X11/xsession
@@ -17,7 +17,5 @@ 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
index 2efe461..7aa7ff9 100644
--- a/X11/xterm
+++ b/X11/xterm
@@ -40,8 +40,8 @@ XTerm*faceSize: 10
XTerm*backarrowKey: false
*VT100*translations: #override \n\
- ShiftCtrl<Key>C: copy-selection(CLIPBOARD)\n\
- ShiftCtrl<Key>V: insert-selection(CLIPBOARD)\n\
+ Shift Ctrl<Key>C: copy-selection(CLIPBOARD)\n\
+ Shif tCtrl<Key>V: insert-selection(CLIPBOARD)\n\
<Key>Backspace: string(0x7F)\n\
<Key>Delete: string("\033[3~")\n\
<Key>Home: string("\033[1~")\n\
diff --git a/dillo/dillorc b/dillo/dillorc
new file mode 100644
index 0000000..55c4363
--- /dev/null
+++ b/dillo/dillorc
@@ -0,0 +1,53 @@
+load_images=YES
+load_background_images=NO
+parse_embedded_css=NO
+buffered_drawing=2
+save_dir=~/etc
+vw_fontname=helvetica
+fw_fontname=tamzen
+dpi=96
+font_max_size=100
+font_min_size=12
+show_tooltip=YES
+limit_text_width=YES
+adjust_min_width=YES
+adjust_table_min_width=YES
+
+start_page=""
+home="about:blank"
+search_url=https://searx.be/?q=%s"
+connect_timeout=30
+
+tls_min_version="default"
+tls_cipher_list="HIGH:!aNULL:!CAMELLIA:!ARIA:!DSS:!AESCCM:!aGOST:!DHE:!RSA:!ECDHE-ECDSA-AES256-SHA384:!ECDHE-RSA-AES256-SHA384:!ECDHE-ECDSA-AES128-SHA256:!ECDHE-RSA-AES128-SHA256:!SHA"
+http_insecure=NO
+http_max_conns=5
+http_referer=host
+http_user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0"
+
+bg_color=0xdcd1ba
+allow_white_bg=NO
+white_bg_replacement=0xe0e0a3
+contrast_visited_color=YES
+ui_mobile_mouse_buttons=NO
+
+theme=gtk+
+# Earthly theme:
+ui_fg_color=#100404
+ui_main_bg_color=#c2a47b
+ui_text_bg_color=#cdc9a5
+ui_selection_color=#763024
+ui_tab_active_bg_color=#af4b3f
+ui_tab_active_fg_color=white
+ui_tab_bg_color=#d2b48c
+
+show_home=NO
+show_help=NO
+show_bookmarks=NO
+show_ui_tooltip=NO
+middle_click_opens_new_tab=YES
+right_click_closes_tab=YES
+middle_click_drags_page=YES
+focus_new_tab=NO
+show_quit_dialog=NO
+show_extra_warnings=NO
diff --git a/exrc b/exrc
index 6d4e4e0..3f3f57b 100644
--- a/exrc
+++ b/exrc
@@ -6,41 +6,44 @@ set magic
set mesg
set number
set ruler
-set shiftwidth=4
set showmatch
set showmode
-set tabstop=4
set tildeop
set windowname
-set wraplen=80
set leftright
set extended
set iclower
set searchincr
set verbose
set redraw
+set wrapscan
+set wraplen=80
+set tabstop=4
+set shiftwidth=4
set para=BlBdPpIt
set sections=SeAhBhChDh
set fileencoding=UTF-8
+set dir=/tmp/run/1000
+set cedit=\^[
+set filec=\
-map ZZ m
-map ) 0
-map 0 ^
-map - $
-map W b
-map m '
-map M `
+map ZZ :wq!^M
map Y y$
map gg 1G
map G GA
-map Q :wq!
-map R :ex
+map R :ex^M
+
+""File operations
+"open with fzf
+map  f ::!env FZF_DEFAULT_COMMAND='git ls-files' fzf >> % :edit GIEdit  :bg
""Formatting
" indent lines
map gi :%!indent -i4
" reformat, wrap text at 72ch
map gf :%!fmt -w 80 %
+"paragraph wrapping
+map Q {j!}par P+. Q+__* g1 w80
" reformat paragraph
map gp :?^$?,//!fmt -w 80
" sort lines alphabetically
@@ -59,6 +62,10 @@ map gc :'a,'bs/^/#/
map gu :'a,'bs/# *//
" remove trailing spaces
map gt :%s/ *$//
+" XA_CLIPBOARD
+map rc +:r!xclip -o -sel clip^M
+" process file with hunspell
+map gh :!hunspell -d en_US %
""Manipulating Buffers
" display vi buffers
diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf
index 84136c5..24720fb 100644
--- a/fontconfig/fonts.conf
+++ b/fontconfig/fonts.conf
@@ -4,33 +4,29 @@
<alias>
<family>serif</family>
<prefer>
- <family>Tinos</family>
- <family>Liberation Serif</family>
- <family>DejaVu Serif</family>
+ <family>Noto Serif</family>
+ <family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
- <family>Arimo</family>
- <family>Liberation Sans</family>
- <family>DejaVu Sans</family>
+ <family>Noto Sans Display</family>
+ <family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
- <family>Arimo</family>
- <family>Liberation Sans</family>
- <family>DejaVu Sans</family>
+ <family>Noto Sans Display</family>
+ <family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
- <family>Cousine</family>
- <family>Liberation Mono</family>
- <family>DejaVu Sans Mono</family>
+ <family>JetBrainsMono Nerd Font</family>
+ <family>Noto Color Emoji</family>
</prefer>
</alias>
diff --git a/git/config b/git/config
index 7e95402..d62c919 100644
--- a/git/config
+++ b/git/config
@@ -1,16 +1,3 @@
-[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
@@ -23,11 +10,10 @@
amend = commit --amend -v
full = show --format=fuller
noed = commit --amend --no-edit
- vl = log --color --stat --pretty=fuller
- tr = log --graph --date-order --date=short --pretty=format:'%C(cyan)%h%Creset -%C(auto)%d %C(yellow)%s %C(blue)(%ar) %Creset<%an>'
- fz = !sha=$( git -c color.ui=auto log --oneline -n 1000 | fzf +s --no-multi --prompt 'Fixup> ' ) && git commit --fixup "${sha%% *}"
- fr = !sha=$( git -c color.ui=auto log --oneline -n 1000 | fzf +s --no-multi --prompt 'Revert> ' ) && git revert "${sha%% *}"
- wd = "!f() { git --paginate diff --dirstat=cumulative,files,0 ${1:-HEAD} | awk '{print $2}' | cut -d / -f1-${2:-4} | sort | uniq; }; f"
+ history = log --graph --date-order --date=short --decorate --pretty=format:'%C(yellow)%h%Creset %C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'
+ detailed = log --color --stat --pretty=fuller
+ fixups = !sha=$( git -c color.ui=auto log --oneline -n 1000 | fzf +s --no-multi --prompt 'Fixup> ' ) && git commit --fixup "${sha%% *}"
+ reverts = !sha=$( git -c color.ui=auto log --oneline -n 1000 | fzf +s --no-multi --prompt 'Revert> ' ) && git revert "${sha%% *}"
[http]
sslVerify = true
@@ -35,7 +21,7 @@
[core]
autocrlf = input
whitespace = warn
- excludesfile = /home/ghoul/.config/git/gitignore
+ excludesfile = ~/.config/git/gitignore
pager = "{ \
COLUMNS=$(tput cols); \
if [ $COLUMNS -ge 80 ] && [ -z $FZF_PREVIEW_COLUMNS ]; then \
@@ -99,6 +85,7 @@
tool = nvimdiff
renames = copies
submodule = log
+ compactionHeuristic = true
[difftool "nvimdiff"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd L\"
@@ -117,6 +104,11 @@
branch = auto
ui = auto
+[color "decorate"]
+ HEAD = cyan
+ branch = yellow
+ tag = magenta
+
[rerere]
enabled = true
@@ -125,7 +117,7 @@
extendRegexp = true
[gpg]
- program = gpg2
+ program = gpg
[log]
decorate = short
@@ -133,6 +125,9 @@
[include]
path = config.local
+[blame]
+ coloring = highlightRecent
+ date = human
+
[help]
autocorrect = 1
-
diff --git a/irssi/config b/irssi/config
new file mode 100644
index 0000000..e204535
--- /dev/null
+++ b/irssi/config
@@ -0,0 +1,120 @@
+utf8 = "on";
+
+servers = (
+ {
+ address = "irc.libera.chat";
+ chatnet = "libera";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ sasl_username = "deadguy";
+ sasl_password = "";
+ sasl_mechanism = "external";
+ tls_cert = "~/.config/irssi/libera.pem";
+ autoconnect = "yes";
+ },
+ {
+ address = "irc.tilde.chat";
+ chatnet = "tilde";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ sasl_username = "dgy";
+ sasl_password = "";
+ sasl_mechanism = "external";
+ tls_cert = "~/.config/irssi/tilde.pem";
+ autoconnect = "yes";
+ },
+ {
+ address = "ssl.efnet.org";
+ chatnet = "EFNet";
+ port = "9999";
+ use_tls = "yes";
+ },
+);
+
+chatnets = {
+ tilde = { type = "IRC"; nick = "dgy"; };
+ libera = { type = "IRC"; nick = "deadguy"; };
+ EFNet = { type = "IRC"; nick = "deadguy"; };
+};
+
+channels = (
+ { name = "#texto-plano"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#espanol"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#gopher"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#club"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#bsd"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#pink"; chatnet = "tilde"; autojoin = "Yes"; },
+ { name = "#voidlinux"; chatnet = "libera"; autojoin = "Yes"; },
+ { name = "#nixers"; chatnet = "libera"; autojoin = "Yes"; },
+ { name = "#mechboards"; chatnet = "libera"; autojoin = "Yes"; },
+ { name = "##espanol"; chatnet = "libera"; autojoin = "Yes"; },
+ { name = "#pvm"; chatnet = "EFNet"; autojoin = "Yes"; },
+ { name = "#impure"; chatnet = "EFNet"; autojoin = "Yes"; },
+);
+
+settings = {
+ core = {
+ real_name = "deadguy";
+ user_name = "deadguy";
+ nick = "deadguy";
+ timestamp_format = "%R";
+ };
+ "fe-text" = {
+ actlist_sort = "refnum";
+ term_force_colors = "yes";
+ indent = "15";
+ };
+ "fe-common/core" = {
+ autolog = "no";
+ hilight_nick_matches_everywhere = "yes";
+ theme = "neongold";
+ };
+ "irc/core" = {
+ ctcp_version_reply = "no";
+ ctcp_userinfo_reply = "no";
+ max_ctcp_queue = "0";
+ };
+ "perl/core/scripts" = {
+ splitlong_max_length = "60";
+ awl_viewer = "ON";
+ awl_viewer_launch = "ON";
+ awl_viewer_tmux_position = "right";
+ awl_viewer_xwin_command = "xterm +sb -e %A";
+ awl_placement = "top";
+ awl_shared_sbar = "OFF";
+ awl_hide_data = "0";
+ awl_maxcolumns = "4";
+ awl_sort = "server";
+ awl_block = "20";
+ fancy_abbrev = "head";
+ };
+};
+logs = { };
+statusbar = {
+ default = {
+ window = {
+ items = {
+ barstart = { priority = "100"; };
+ time = { };
+ user = { };
+ window = { };
+ window_empty = { };
+ lag = { priority = "-1"; };
+ act = { priority = "10"; };
+ more = { priority = "-1"; alignment = "right"; };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ };
+};
+keyboard = (
+ { key = "meta-z"; id = "previous_window"; data = ""; },
+ { key = "meta-x"; id = "next_window"; data = ""; }
+);
+ignores = (
+ { level = "JOINS PARTS QUITS"; },
+ { mask = "DCC"; level = "ALL"; },
+ { mask = "CTPS"; level = "ALL"; }
+);
diff --git a/ksh/.kshrc b/ksh/.kshrc
index 76638bb..ce5dbd0 100644
--- a/ksh/.kshrc
+++ b/ksh/.kshrc
@@ -4,11 +4,11 @@
[ -n "$DISPLAY" ] && . $HOME/.config/ksh/tmux.ksh
-for f in $HOME/.config/ksh/conf/*; do
- . "${f}"
-done
-
set -o emacs
set -o braceexpand
export HISTFILE="$HOME/.config/ksh/.ksh_history"
export HISTSIZE=16384
+
+for f in $HOME/.config/ksh/conf/*; do
+ . "${f}"
+done
diff --git a/ksh/conf/alias.ksh b/ksh/conf/alias.ksh
index daf4ab6..3c04d39 100644
--- a/ksh/conf/alias.ksh
+++ b/ksh/conf/alias.ksh
@@ -1,5 +1,5 @@
if command -v colorls > /dev/null ; then
- LS='colorls'
+ LS='colorls -G'
else
LS='ls'
fi
@@ -21,21 +21,24 @@ alias \
mv='mv -iv' \
mkdir='mkdir -p' \
cp='cp -Raiv' \
- rm='rm -iv' \
+ rm='rm -riv' \
mount='doas mount -v' \
umount='doas umount -v'
# Programas con opciones por defecto
alias \
+ l='less' \
+ c='cd' \
v="$EDITOR" \
m='neomutt' \
+ d='dir' \
+ da='dir -a' \
ls="$LS -FAGt" \
ll='ls -cohltFAG' \
df='df -hT --total' \
- du='du -sh' \
+ du='du -ch' \
xi="doas pkg_add" \
- vv='nvi' \
- se="doas nvim" \
+ se="doas nvi" \
ytv='pipe-viewer' \
w3m='w3m -no-cookie -v' \
irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \
@@ -44,11 +47,14 @@ alias \
pwn='chmod +x' \
dfc='dfc -dmT' \
rat='tar -xf' \
+ wifi='doas sh /etc/netstart' \
ping='ping -c 5' \
free='free -ht' \
wget='wget --no-hsts' \
dbup='doas /usr/libexec/locate.updatedb' \
+ tree='colortree -FANh' \
+ dirdl='wget -r --no-parent -l1 -e robots=off --reject="index.html" --no-hsts' \
tplano='mosh tplano' \
reboot='doas shutdown -r now' \
- shutdown='doas shutdown -p now' \
- dirdl='wget -r --no-parent -l1 -e robots=off --reject="index.html" --no-hsts'
+ replace='doas pkg_add -r' \
+ shutdown='doas shutdown -p now'
diff --git a/ksh/conf/complete.ksh b/ksh/conf/complete.ksh
index c9db4c2..19e4739 100644
--- a/ksh/conf/complete.ksh
+++ b/ksh/conf/complete.ksh
@@ -16,3 +16,4 @@ complete rcctl 2 $(rcctl ls all)
complete git 1 $(git --list-cmds=main)
complete kill 1 -9 -HUP -INFO -KILL -TERM
complete pkill 1 -9 -HUP -INFO -KILL -TERM
+complete ifconfig 1 $(ifconfig | grep '^[a-z]' | cut -d: -f1)
diff --git a/ksh/conf/prompt.ksh b/ksh/conf/prompt.ksh
index 0d654fe..b4a5134 100644
--- a/ksh/conf/prompt.ksh
+++ b/ksh/conf/prompt.ksh
@@ -1,26 +1,30 @@
-#function _promp {
-# if [[ $(id -u) -eq 0 ]]; then
-# local SUFFIX='\w \$:'
-# else
-# local SUFFIX='\033[34m\w \033[1;33m\076\033[0m'
-# fi
-# print "$SUFFIX"
-#}
-#
-#export PS1='
-#$(_promp)'
-
PS1='$(
+ # set _cwd to $PWD, replacing $HOME with ~
case "$PWD/" in
- ("$HOME"/*)
- _cwd="~${PWD#"${HOME}"}";;
- (*)
- cwd="$PWD";;
+ ("$HOME"/*)
+ _cwd="~${PWD#"${HOME}"}"
+ ;;
+ (*)
+ _cwd="$PWD"
+ ;;
esac
- _rprompt="$_cwd"
- _cols=$((COLUMNS - ${#_rprompt}))
-
+ # set _tty to the name of tty, trim any /dev/ at the beginning
+ _tty=$(tty)
+ _tty=${_tty#/dev/}
+
+ # set _host to the host name of the machine
+ # set _title to "$_cwd - $_tty"; prefix it with "$_host:" if I am not on my laptop
+ if test -z "$SSH_CONNECTION"
+ then
+ _host=""
+ _title="$_cwd - $_tty"
+ else
+ _host="$(hostname)"
+ _title="$_host:$_cwd - $_tty"
+ fi
+
+ # set _color to red if we are root, or to white if we are a normal user
if [ $(id -u) -eq 0 ]
then
_color="1;31m"
@@ -28,14 +32,20 @@ PS1='$(
_color="1;33m"
fi
- printf "\n"
- printf "\\\\[\e[0m\\\\]\\\\[\e[s\\\\]"
+ _rprompt="$_cwd"
+ _cols=$((COLUMNS - ${#_rprompt}))
+
+ # return prompt
+ printf "\n" # print blank line before prompt
+ printf "\\\\[\e[0m\\\\]\\\\[\e[s\\\\]" # clear formatting
+ printf "\\\\[\e]0;%s\a\\\\]" "$_title" # set window title
printf "\\\\[\e[%sG\\\\]" "$_cols"
printf "%s" "$_rprompt"
printf "\\\\[\e[u\\\\]"
- printf "\\\\[\e[%s\\\\]" "$_color"
- printf "> "
- printf "\\\\[\e[0m\\\\]"
+ printf "\\\\[\e[%s\\\\]" "$_color" # set color to red if root, white otherwise
+ printf "%s> " "$_host" # set left prompt
+ printf "\\\\[\e[0m\\\\]" # clear formatting
)'
+# print previous command's non-zero exit status, bold and red, after it exits
trap 'printf "\e[1;31mEXIT: %s\e[0m\n" "$?"' ERR
diff --git a/lf/lfrc b/lf/lfrc
index d43f862..3c78ed7 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -124,7 +124,7 @@ cmd paste-overwrite %{{
}}
cmd fzf_jump ${{
- res="$(find . -maxdepth 3 | sed "s|^\./||" | fzf --reverse --header='Jump to location' | sed 's/\\/\\\\/g;s/"/\\"/g')"
+ res="$(find . -maxdepth 2 | sed "s|^\./||" | fzf --reverse --header='Jump to location' | sed 's/\\/\\\\/g;s/"/\\"/g')"
if [ -d "$res" ]; then
cmd="cd"
else
@@ -164,7 +164,7 @@ cmd git_branch ${{
# toggle single column view
cmd no_preview :{{
set nopreview
- set ratios 2
+ set ratios 1
set info size:time
map ~ yes_preview
}}
@@ -172,7 +172,7 @@ cmd no_preview :{{
cmd yes_preview :{{
set ratios 2:2
set preview
- set info
+ set info size:time
map ~ no_preview
}}
@@ -274,6 +274,7 @@ map gl cd ~/.local/share
map gb cd ~/.local/bin
map g. cd ~/.config
map gn cd ~/.config/nvim
+map gk cd ~/.config/ksh
map gd cd ~/doc
map ga cd ~/src
map ge cd ~/etc
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index e65456a..879bd1b 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -40,7 +40,7 @@ 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 '%F %R '
+set -g status-right '#{online_status} %F %R '
set -g window-status-separator ''
set -g window-status-style bg=colour0,fg=colour243
set -g window-status-current-style bg=default,fg=default
@@ -103,4 +103,8 @@ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel
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"
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-online-status'
+
+run -b '~/.config/tmux/plugins/tpm/tpm'
# vim: set ft=tmux:
Un proyecto texto-plano.xyz