dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 69cd2f60d123a022061600e2453c1a0272ecc76b
parent 88120fced2e43c2d9516b60932013d95f44c45f2
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Wed, 26 Feb 2020 20:40:04 +0000

some changes to scripts + new scripts

Diffstat:
D.config/wall1 | 0
D.config/wall2 | 0
M.config/zsh/.zcompdump | 495+++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------
D.config/zsh/.zshrc.swp | 0
M.gitaddlist | 3---
M.scripts/bin/display/rfeh | 30++++++++++++------------------
A.scripts/bin/misc/.convf.swp | 0
A.scripts/bin/misc/convf | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.scripts/bin/misc/qmv | 30++++++++++++++++++++++++++++++
A.scripts/bin/misc/sshtar | 22++++++++++++++++++++++
M.scripts/bin/misc/urlhand | 2+-
M.scripts/i3blocks/convtodwm | 1-
D.wall | 2--
Mgeneral/makefile | 8++++++++
14 files changed, 460 insertions(+), 188 deletions(-)

diff --git a/.config/wall1 b/.config/wall1 Binary files differ. diff --git a/.config/wall2 b/.config/wall2 Binary files differ. diff --git a/.config/zsh/.zcompdump b/.config/zsh/.zcompdump @@ -1,4 +1,4 @@ -#files: 750 version: 5.8 +#files: 882 version: 5.8 _comps=( '-' '_precommand' @@ -38,6 +38,7 @@ _comps=( '-value-,ANSIBLE_STDOUT_CALLBACK,-default-' '_ansible' '-value-,ANT_ARGS,-default-' '_ant' '-value-,CFLAGS,-default-' '_gcc' +'-value-,CMAKE_GENERATOR,-default-' '_cmake' '-value-,CPPFLAGS,-default-' '_gcc' '-value-,CXXFLAGS,-default-' '_gcc' '-value-,DISPLAY,-default-' '_x_display' @@ -90,6 +91,8 @@ _comps=( '8l' '_go' 'Mail' '_mail' 'Mosaic' '_webbrowser' +'VBoxHeadless' '_virtualbox' +'VBoxManage' '_virtualbox' 'a2ps' '_a2ps' 'aaaa' '_hosts' 'aap' '_aap' @@ -105,10 +108,12 @@ _comps=( 'add-zle-hook-widget' '_add-zle-hook-widget' 'add-zsh-hook' '_add-zsh-hook' 'admin' '_sccs' +'afew' '_afew' 'ali' '_mh' 'alias' '_alias' 'amaya' '_webbrowser' 'analyseplugin' '_analyseplugin' +'android' '_android' 'animate' '_imagemagick' 'anno' '_mh' 'ansible' '_ansible' @@ -131,14 +136,17 @@ _comps=( 'appletviewer' '_java' 'apropos' '_man' 'apvlv' '_pdf' +'archlinux-java' '_archlinux-java' 'arecord' '_alsa-utils' 'arena' '_webbrowser' 'arp' '_arp' 'arping' '_arping' +'artisan' '_artisan' 'asciidoctor' '_asciidoctor' 'asciinema' '_asciinema' 'ash' '_sh' 'at' '_at' +'atach' '_atach' 'atq' '_at' 'atrm' '_at' 'attr' '_attr' @@ -163,10 +171,12 @@ _comps=( 'bibtex' '_bibtex' 'bindkey' '_bindkey' 'bison' '_bison' +'bitcoin-cli' '_bitcoin-cli' 'bmake' '_make' 'bogofilter' '_bogofilter' 'bogotune' '_bogofilter' 'bogoutil' '_bogofilter' +'bower' '_bower' 'bpython' '_bpython' 'bpython-gtk' '_bpython' 'bpython-urwid' '_bpython' @@ -192,6 +202,7 @@ _comps=( 'bttrack' '_bittorrent' 'buildhash' '_ispell' 'builtin' '_builtin' +'bundle' '_bundle' 'bunzip2' '_bzip2' 'burst' '_mh' 'bzcat' '_bzip2' @@ -203,11 +214,15 @@ _comps=( 'bzr' '_bzr' 'c++' '_gcc' 'cabal' '_cabal' +'caffeinate' '_caffeinate' 'cal' '_cal' 'calendar' '_calendar' +'cap' '_cap' +'cask' '_cask' 'cat' '_cat' 'catchsegv' '_precommand' 'cc' '_gcc' +'ccache' '_ccache' 'ccal' '_ccal' 'cd' '_cd' 'cdc' '_sccs' @@ -217,19 +232,23 @@ _comps=( 'cdrecord' '_cdrecord' 'ceilometer' '_openstack' 'certtool' '_gnutls' +'cf' '_cf' 'cftp' '_twisted' 'chage' '_users' 'chattr' '_chattr' 'chcon' '_chcon' 'chdir' '_cd' +'cheat' '_cheat' 'chfn' '_users' 'chgrp' '_chown' 'chimera' '_webbrowser' 'chkconfig' '_chkconfig' 'chkstow' '_stow' 'chmod' '_chmod' +'choc' '_choc' 'chown' '_chown' 'chpass' '_chsh' +'chromium' '_chromium' 'chroot' '_chroot' 'chrt' '_chrt' 'chsh' '_chsh' @@ -244,9 +263,11 @@ _comps=( 'clear' '_nothing' 'cloudkitty' '_openstack' 'clusterdb' '_postgresql' +'cmake' '_cmake' 'cmp' '_cmp' 'co' '_rcs' 'code' '_code' +'coffee' '_coffee' 'column' '_column' 'comb' '_sccs' 'combine' '_imagemagick' @@ -257,12 +278,14 @@ _comps=( 'compadd' '_compadd' 'compdef' '_compdef' 'composer' '_composer' -'composer.phar' '_composer' 'composite' '_imagemagick' 'compress' '_compress' +'conan' '_conan' 'conch' '_twisted' +'concourse' '_concourse' 'config.status' '_configure' 'configure' '_configure' +'console' '_console' 'convert' '_imagemagick' 'cowsay' '_cowsay' 'cowthink' '_cowsay' @@ -270,8 +293,8 @@ _comps=( 'cpio' '_cpio' 'cplay' '_cplay' 'cpupower' '_cpupower' -'createdb' '_postgresql' -'createuser' '_postgresql' +'createdb' '_pgsql_utils' +'createuser' '_pgsql_utils' 'crontab' '_crontab' 'crsh' '_cssh' 'cryptsetup' '_cryptsetup' @@ -281,6 +304,7 @@ _comps=( 'curl' '_curl' 'cut' '_cut' 'cvs' '_cvs' +'dad' '_dad' 'darcs' '_darcs' 'dash' '_sh' 'date' '_date' @@ -295,13 +319,17 @@ _comps=( 'dcopref' '_dcop' 'dcopstart' '_dcop' 'dd' '_dd' +'debuild' '_debuild' 'declare' '_typeset' 'delta' '_sccs' 'designate' '_openstack' 'devtodo' '_devtodo' 'df' '_df' +'dget' '_dget' 'dhclient' '_dhclient' 'dhclient3' '_dhclient' +'dhcpcd' '_dhcpcd' +'diana' '_diana' 'dict' '_dict' 'diff' '_diff' 'diff3' '_diff3' @@ -321,11 +349,13 @@ _comps=( 'dmesg' '_dmesg' 'dmidecode' '_dmidecode' 'doas' '_doas' +'docpad' '_docpad' 'domainname' '_yp' 'dos2unix' '_dos2unix' 'drill' '_drill' -'dropdb' '_postgresql' -'dropuser' '_postgresql' +'dropdb' '_pgsql_utils' +'dropuser' '_pgsql_utils' +'drush' '_drush' 'dsh' '_dsh' 'dtruss' '_dtruss' 'du' '_du' @@ -342,6 +372,7 @@ _comps=( 'e2label' '_e2label' 'eatmydata' '_precommand' 'ecasound' '_ecasound' +'ecdsautil' '_ecdsautil' 'echotc' '_echotc' 'echoti' '_echoti' 'ed' '_ed' @@ -349,10 +380,12 @@ _comps=( 'elfdump' '_elfdump' 'elinks' '_elinks' 'emulate' '_emulate' +'emulator' '_emulator' 'enable' '_enable' 'enscript' '_enscript' 'entr' '_entr' 'env' '_env' +'envdir' '_envdir' 'eog' '_eog' 'epdfview' '_pdf' 'epsffit' '_psutils' @@ -371,9 +404,11 @@ _comps=( 'exec' '_exec' 'expand' '_unexpand' 'export' '_typeset' +'exportfs' '_exportfs' 'express' '_webbrowser' 'extcheck' '_java' 'extractres' '_psutils' +'fab' '_fab' 'fakeroot' '_fakeroot' 'false' '_nothing' 'fc' '_fc' @@ -381,6 +416,7 @@ _comps=( 'fc-match' '_xft_fonts' 'feh' '_feh' 'fetchmail' '_fetchmail' +'ffind' '_ffind' 'ffmpeg' '_ffmpeg' 'fg' '_jobs_fg' 'fgrep' '_grep' @@ -402,12 +438,15 @@ _comps=( 'fixwpps' '_psutils' 'fixwwps' '_psutils' 'flac' '_flac' +'fleetctl' '_fleetctl' 'flex' '_flex' 'flex++' '_flex' 'flipdiff' '_patchutils' 'flist' '_mh' 'flists' '_mh' 'float' '_typeset' +'flutter' '_flutter' +'fly' '_concourse' 'fmt' '_fmt' 'fmttest' '_mh' 'fned' '_zed' @@ -415,6 +454,7 @@ _comps=( 'fold' '_fold' 'folder' '_mh' 'folders' '_mh' +'force' '_force' 'fortune' '_fortune' 'forw' '_mh' 'fprev' '_mh' @@ -427,8 +467,10 @@ _comps=( 'fuser' '_fuser' 'fusermount' '_fusermount' 'fwhois' '_whois' +'fwupdmgr' '_fwupdmgr' 'g++' '_gcc' 'galeon' '_webbrowser' +'gas' '_gas' 'gawk' '_awk' 'gb2sum' '_md5sum' 'gbase32' '_base64' @@ -477,20 +519,29 @@ _comps=( 'ggetopt' '_getopt' 'ggrep' '_grep' 'ggv' '_gnome-gv' +'ghc' '_ghc' +'ghc-pkg' '_ghc' +'ghci' '_ghc' 'ghead' '_head' 'ghostscript' '_ghostscript' 'ghostview' '_pspdf' 'gid' '_id' 'ginstall' '_install' +'gist' '_gist' 'git' '_git' 'git-cvsserver' '_git' +'git-flow' '_git-flow' +'git-journal' '_git-journal' +'git-pulls' '_git-pulls' 'git-receive-pack' '_git' 'git-shell' '_git' 'git-upload-archive' '_git' 'git-upload-pack' '_git' +'git-wtf' '_git-wtf' 'gitk' '_git' 'gjoin' '_join' 'glance' '_openstack' +'glances' '_glances' 'gln' '_ln' 'global' '_global' 'glocate' '_locate' @@ -519,8 +570,10 @@ _comps=( 'gnutls-cli' '_gnutls' 'gnutls-cli-debug' '_gnutls' 'gnutls-serv' '_gnutls' +'go' '_golang' 'god' '_od' 'gofmt' '_go' +'google' '_google' 'gpasswd' '_gpasswd' 'gpaste' '_paste' 'gpatch' '_patch' @@ -575,6 +628,7 @@ _comps=( 'gtar' '_tar' 'gtee' '_tee' 'gtimeout' '_timeout' +'gtk-launch' '_gtk-launch' 'gtouch' '_touch' 'gtr' '_tr' 'gtty' '_tty' @@ -629,10 +683,14 @@ _comps=( 'hexdump' '_hexdump' 'hilite' '_precommand' 'history' '_fc' +'hledger' '_hledger' +'homestead' '_homestead' 'host' '_host' 'hostname' '_hostname' 'hotjava' '_webbrowser' 'htop' '_htop' +'http' '_httpie' +'ibus' '_ibus' 'iceweasel' '_mozilla' 'icombine' '_ispell' 'iconv' '_iconv' @@ -646,16 +704,18 @@ _comps=( 'ijoin' '_ispell' 'import' '_imagemagick' 'inc' '_mh' +'include-what-you-use' '_include-what-you-use' 'includeres' '_psutils' 'info' '_texinfo' 'infocmp' '_terminals' 'initctl' '_initctl' -'initdb' '_postgresql' +'initdb' '_pgsql_utils' 'insmod' '_modutils' 'install' '_install' 'install-info' '_texinfo' 'integer' '_typeset' 'interdiff' '_patchutils' +'inxi' '_inxi' 'ionice' '_ionice' 'iostat' '_iostat' 'ip' '_ip' @@ -683,10 +743,15 @@ _comps=( 'javah' '_java' 'javap' '_java' 'jdb' '_java' +'jmeter' '_jmeter' +'jmeter-plugins' '_jmeter-plugins' 'jobs' '_jobs_builtin' 'joe' '_joe' 'join' '_join' +'jonas' '_jonas' 'jq' '_jq' +'jrnl' '_jrnl' +'kak' '_kak' 'kdeconnect-cli' '_kdeconnect' 'keystone' '_openstack' 'keytool' '_java' @@ -695,6 +760,8 @@ _comps=( 'killall' '_killall' 'killall5' '_killall' 'kioclient' '_kfmclient' +'kitchen' '_kitchen' +'knife' '_knife' 'knock' '_knock' 'konqueror' '_webbrowser' 'kpartx' '_kpartx' @@ -752,6 +819,7 @@ _comps=( 'ltrace' '_ltrace' 'lua' '_lua' 'luarocks' '_luarocks' +'lunchy' '_lunchy' 'lynx' '_lynx' 'lz4' '_lz4' 'lz4c' '_lz4' @@ -797,8 +865,11 @@ _comps=( 'mhpath' '_mh' 'mhshow' '_mh' 'mhstore' '_mh' +'middleman' '_middleman' 'mii-tool' '_mii-tool' +'mina' '_mina' 'mistral' '_openstack' +'mix' '_mix' 'mkdir' '_mkdir' 'mkfifo' '_mkfifo' 'mkisofs' '_growisofs' @@ -844,9 +915,13 @@ _comps=( 'mupdf' '_mupdf' 'murano' '_openstack' 'mush' '_mail' +'mussh' '_mussh' 'mutt' '_mutt' +'mux' '_tmuxinator' 'mv' '_mv' 'mvim' '_vim' +'mvn' '_mvn' +'mvnDebug' '_mvn' 'mx' '_hosts' 'mysql' '_mysql_utils' 'mysqladmin' '_mysql_utils' @@ -855,6 +930,7 @@ _comps=( 'mysqlimport' '_mysql_utils' 'mysqlshow' '_mysql_utils' 'nail' '_mail' +'nano' '_nano' 'native2ascii' '_java' 'nautilus' '_nautilus' 'nawk' '_awk' @@ -872,6 +948,7 @@ _comps=( 'new' '_mh' 'newgrp' '_groups' 'next' '_mh' +'nft' '_nftables' 'nginx' '_nginx' 'ngrep' '_ngrep' 'nice' '_nice' @@ -882,6 +959,7 @@ _comps=( 'nmblookup' '_samba' 'nmcli' '_networkmanager' 'nocorrect' '_precommand' +'node' '_node' 'noglob' '_precommand' 'nohup' '_precommand' 'nova' '_openstack' @@ -891,6 +969,7 @@ _comps=( 'ntalk' '_other_accounts' 'numfmt' '_numfmt' 'nvim' '_vim' +'nvm' '_nvm' 'objdump' '_objdump' 'od' '_od' 'ogg123' '_vorbis' @@ -899,10 +978,12 @@ _comps=( 'ogginfo' '_vorbis' 'oksh' '_sh' 'okular' '_okular' +'openssl' '_openssl' 'openstack' '_openstack' 'opera' '_webbrowser' 'opera-next' '_webbrowser' 'opkg' '_opkg' +'optirun' '_optirun' 'p4' '_perforce' 'p4d' '_perforce' 'pack' '_pack' @@ -911,6 +992,7 @@ _comps=( 'passwd' '_users' 'paste' '_paste' 'patch' '_patch' +'patool' '_patool' 'pax' '_pax' 'pcat' '_pack' 'pcred' '_pids' @@ -929,18 +1011,21 @@ _comps=( 'pdftops' '_pdf' 'pdftotext' '_pdf' 'pdksh' '_sh' +'perf' '_perf' +'periscope' '_periscope' 'perl' '_perl' 'perldoc' '_perldoc' 'pfiles' '_pids' 'pflags' '_pids' 'pg_config' '_postgresql' 'pg_ctl' '_postgresql' -'pg_dump' '_postgresql' -'pg_dumpall' '_postgresql' +'pg_dump' '_pgsql_utils' +'pg_dumpall' '_pgsql_utils' 'pg_isready' '_postgresql' -'pg_restore' '_postgresql' +'pg_restore' '_pgsql_utils' 'pg_upgrade' '_postgresql' 'pgrep' '_pgrep' +'phing' '_phing' 'php' '_php' 'pick' '_mh' 'picocom' '_picocom' @@ -952,12 +1037,16 @@ _comps=( 'pinfo' '_texinfo' 'ping' '_ping' 'ping6' '_ping' +'pixz' '_pixz' +'pkcon' '_pkcon' 'pkg-config' '_pkg-config' 'pkgadd' '_pkgadd' 'pkginfo' '_pkginfo' 'pkgrm' '_pkgrm' 'pkill' '_pgrep' +'play' '_play' 'pldd' '_pids' +'pm2' '_pm2' 'pmake' '_make' 'pman' '_perl_modules' 'pmap' '_pmap' @@ -977,6 +1066,7 @@ _comps=( 'policytool' '_java' 'pon' '_pon' 'popd' '_directory_stack' +'port' '_port' 'postconf' '_postfix' 'postgres' '_postgresql' 'postmaster' '_postgresql' @@ -1006,7 +1096,7 @@ _comps=( 'psmerge' '_psutils' 'psmulti' '_postscript' 'psnup' '_psutils' -'psql' '_postgresql' +'psql' '_pgsql_utils' 'psresize' '_psutils' 'psselect' '_psutils' 'pstack' '_pids' @@ -1021,12 +1111,15 @@ _comps=( 'pwait' '_pids' 'pwdx' '_pids' 'pwgen' '_pwgen' +'pygmentize' '_pygmentize' 'pyhtmlizer' '_twisted' 'qdbus' '_qdbus' 'qiv' '_qiv' 'quilt' '_quilt' 'r' '_fc' +'rails' '_rails' 'rake' '_rake' +'ralio' '_ralio' 'ranlib' '_ranlib' 'rar' '_rar' 'rc' '_sh' @@ -1039,6 +1132,8 @@ _comps=( 'readelf' '_readelf' 'readlink' '_readlink' 'readonly' '_typeset' +'rec' '_redis-cli' +'redis-cli' '_redis-cli' 'refile' '_mh' 'rehash' '_hash' 'reindexdb' '_postgresql' @@ -1048,9 +1143,11 @@ _comps=( 'repl' '_mh' 'restart' '_initctl' 'retawq' '_webbrowser' +'rfkill' '_rfkill' 'rgview' '_vim' 'rgvim' '_vim' 'ri' '_ri' +'rkt' '_rkt' 'rlogin' '_rlogin' 'rm' '_rm' 'rmd160' '_cksum' @@ -1065,11 +1162,15 @@ _comps=( 'route' '_route' 'rrdtool' '_rrdtool' 'rsh' '_rlogin' +'rslsync' '_rslsync' +'rspec' '_rspec' +'rsvm' '_rsvm' 'rsync' '_rsync' 'rtin' '_tin' 'rubber' '_rubber' 'rubber-info' '_rubber' 'rubber-pipe' '_rubber' +'rubocop' '_rubocop' 'ruby' '_ruby' 'ruby-mri' '_ruby' 'run-help' '_run-help' @@ -1084,6 +1185,9 @@ _comps=( 'sadf' '_sysstat' 'sahara' '_openstack' 'sar' '_sysstat' +'sbt' '_sbt' +'scala' '_scala' +'scalac' '_scala' 'scan' '_mh' 'sccs' '_sccs' 'sccsdiff' '_sccs' @@ -1094,6 +1198,8 @@ _comps=( 'screen' '_screen' 'script' '_script' 'scriptreplay' '_script' +'scrub' '_scrub' +'sdd' '_sdd' 'seaf-cli' '_seafile' 'sed' '_sed' 'senlin' '_openstack' @@ -1101,12 +1207,15 @@ _comps=( 'serialver' '_java' 'service' '_service' 'set' '_set' +'setcap' '_setcap' 'setfacl' '_setfacl' 'setfacl.exe' '_setfacl' 'setfattr' '_attr' 'setopt' '_setopt' 'setsid' '_setsid' +'setup.py' '_setup.py' 'setxkbmap' '_setxkbmap' +'sfdx' '_sfdx' 'sftp' '_ssh' 'sh' '_sh' 'sha1' '_cksum' @@ -1124,6 +1233,7 @@ _comps=( 'show' '_mh' 'showchar' '_psutils' 'showmount' '_showmount' +'showoff' '_showoff' 'shred' '_shred' 'shuf' '_shuf' 'shutdown' '_shutdown' @@ -1153,6 +1263,7 @@ _comps=( 'sqlite3' '_sqlite' 'sqsh' '_sqsh' 'sr' '_surfraw' +'srm' '_srm' 'srptool' '_gnutls' 'ss' '_ss' 'ssh' '_ssh' @@ -1162,6 +1273,7 @@ _comps=( 'ssh-keygen' '_ssh' 'ssh-keyscan' '_ssh' 'sshfs' '_sshfs' +'stack' '_stack' 'star' '_tar' 'start' '_initctl' 'stat' '_stat' @@ -1178,12 +1290,15 @@ _comps=( 'strongswan' '_ipsec' 'stty' '_stty' 'su' '_su' -'subl' '_sublimetext' +'subl' '_subl' +'subliminal' '_subliminal' 'sudo' '_sudo' 'sudoedit' '_sudo' 'sum' '_cksum' +'supervisorctl' '_supervisorctl' 'surfraw' '_surfraw' 'sv' '_sv' +'svm' '_svm' 'svn' '_subversion' 'svnadmin' '_subversion' 'svnadmin-static' '_subversion' @@ -1200,6 +1315,7 @@ _comps=( 'talk' '_other_accounts' 'tar' '_tar' 'tardy' '_tardy' +'tarsnap' '_tarsnap' 'tcp_open' '_tcpsys' 'tcpdump' '_tcpdump' 'tcptraceroute' '_tcptraceroute' @@ -1208,6 +1324,7 @@ _comps=( 'tdd' '_devtodo' 'tde' '_devtodo' 'tdr' '_devtodo' +'teamocil' '_teamocil' 'tee' '_tee' 'telnet' '_telnet' 'tex' '_tex' @@ -1216,6 +1333,7 @@ _comps=( 'texi2pdf' '_texinfo' 'texindex' '_texinfo' 'tg' '_topgit' +'thor' '_thor' 'tidy' '_tidy' 'tig' '_git' 'time' '_precommand' @@ -1227,12 +1345,15 @@ _comps=( 'tla' '_tla' 'tload' '_tload' 'tmux' '_tmux' +'tmuxinator' '_tmuxinator' +'tmuxp' '_tmuxp' 'todo' '_devtodo' 'todo.sh' '_todo.sh' 'toilet' '_toilet' 'top' '_top' 'totdconfig' '_totd' 'touch' '_touch' +'tox' '_tox' 'tpb' '_tpb' 'tput' '_tput' 'tr' '_tr' @@ -1241,6 +1362,11 @@ _comps=( 'traceroute' '_hosts' 'transmission-remote' '_transmission' 'trap' '_trap' +'trash' '_trash-put' +'trash-empty' '_trash-empty' +'trash-list' '_trash-list' +'trash-put' '_trash-put' +'trash-restore' '_trash-restore' 'tree' '_tree' 'trial' '_twisted' 'trove' '_openstack' @@ -1259,6 +1385,8 @@ _comps=( 'txt' '_hosts' 'type' '_which' 'typeset' '_typeset' +'udisksctl' '_udisksctl' +'ufw' '_ufw' 'ulimit' '_ulimit' 'uml_mconsole' '_uml' 'uml_moo' '_uml' @@ -1298,7 +1426,8 @@ _comps=( 'useradd' '_user_admin' 'userdel' '_users' 'usermod' '_user_admin' -'vacuumdb' '_postgresql' +'vacuumdb' '_pgsql_utils' +'vagrant' '_vagrant' 'val' '_sccs' 'valgrind' '_valgrind' 'vared' '_vared' @@ -1315,6 +1444,7 @@ _comps=( 'vmstat' '_vmstat' 'vncserver' '_vnc' 'vncviewer' '_vnc' +'vnstat' '_vnstat' 'vorbiscomment' '_vorbis' 'vpnc' '_vpnc' 'vpnc-connect' '_vpnc' @@ -1325,6 +1455,8 @@ _comps=( 'watch' '_watch' 'watcher' '_openstack' 'wc' '_wc' +'wemux' '_wemux' +'wg-quick' '_wg-quick' 'wget' '_wget' 'what' '_sccs' 'whatis' '_man' @@ -1382,6 +1514,7 @@ _comps=( 'xhost' '_x_utils' 'xi' '_xtools' 'xilog' '_xtools' +'xinput' '_xinput' 'xkill' '_x_utils' 'xlg' '_xtools' 'xli' '_xloadimage' @@ -1412,6 +1545,7 @@ _comps=( 'xrevbump' '_xtools' 'xrevshlib' '_xtools' 'xscreensaver-command' '_xscreensaver' +'xsel' '_xsel' 'xset' '_xset' 'xsetbg' '_xloadimage' 'xsetroot' '_x_utils' @@ -1434,6 +1568,9 @@ _comps=( 'xz' '_xz' 'xzcat' '_xz' 'yafc' '_yafc' +'yaourt' '_yaourt' +'yaourt.static' '_yaourt' +'yarn' '_yarn' 'yash' '_sh' 'youtube-dl' '_youtube-dl' 'ypbind' '_yp' @@ -1450,6 +1587,7 @@ _comps=( 'zargs' '_zargs' 'zathura' '_zathura' 'zcalc' '_zcalc' +'zcash-cli' '_zcash-cli' 'zcat' '_zcat' 'zcompile' '_zcompile' 'zcp' '_zmv' @@ -1508,6 +1646,8 @@ _services=( '-redirect-,>,gzip' 'gunzip' '-redirect-,>,xz' 'unxz' 'Mail' 'mail' +'VBoxHeadless' 'vboxheadless' +'VBoxManage' 'vboxmanage' 'bzcat' 'bunzip2' 'gchgrp' 'chgrp' 'gchown' 'chown' @@ -1535,6 +1675,7 @@ _services=( 'xelatex' 'latex' 'xetex' 'tex' 'xzcat' 'unxz' +'yaourt.static' 'yaourt' 'zf_chgrp' 'chgrp' 'zf_chown' 'chown' ) @@ -1552,6 +1693,7 @@ _postpatcomps=( '-value-,(ftp|http(|s))_proxy,-default-' '_urls' '-value-,*PATH,-default-' '_dir_list' '-value-,*path,-default-' '_directories' +'-value-,CCACHE_*,-default-' '_ccache' '-value-,LC_*,-default-' '_locales' '-value-,RUBY(LIB|OPT|PATH),-default-' '_ruby' 'c++-*' '_gcc' @@ -1603,156 +1745,183 @@ bindkey '^[,' _history-complete-newer bindkey '^[/' _history-complete-older bindkey '^[~' _bash_complete-word -autoload -Uz _libinput _mpv _sv _xbps _xbps_src \ - _xtools _xwallpaper _youtube-dl _zathura _cdr \ - _all_labels _all_matches _alternative _approximate _arg_compile \ - _arguments _bash_completions _cache_invalid _call_function _combination \ - _comp_locale _complete _complete_debug _complete_help _complete_help_generic \ - _complete_tag _correct _correct_filename _correct_word _describe \ - _description _dispatch _expand _expand_alias _expand_word \ - _extensions _external_pwds _generic _guard _history \ - _history_complete_word _ignored _list _main_complete _match \ - _menu _message _most_recent_file _multi_parts _next_label \ - _next_tags _normal _nothing _oldlist _pick_variant \ - _prefix _read_comp _regex_arguments _regex_words _requested \ - _retrieve_cache _sep_parts _sequence _set_command _setup \ - _store_cache _sub_commands _tags _user_expand _values \ - _wanted _acpi _acpitool _alsa-utils _analyseplugin \ - _brctl _btrfs _chattr _chcon _chrt \ - _cpupower _cryptsetup _dkms _e2label _ethtool \ - _findmnt _free _fuse_arguments _fuse_values _fusermount \ - _gpasswd _htop _iconvconfig _ionice _ipset \ - _iptables _iwconfig _kpartx _losetup _lsattr \ - _lsblk _lsusb _ltrace _mdadm _mii-tool \ - _modutils _mondo _networkmanager _opkg _pidof \ - _pmap _qdbus _schedtool _selinux_contexts _selinux_roles \ - _selinux_types _selinux_users _setsid _slabtop _ss \ - _sshfs _strace _sysstat _tload _tpb \ - _tracepath _tune2fs _uml _valgrind _vserver \ - _wakeup_capable_devices _wipefs _wpa_cli _a2ps _aap \ - _abcde _absolute_command_paths _ack _adb _ansible \ - _ant _antiword _apachectl _apm _arch_archives \ - _arch_namespace _arp _arping _asciidoctor _asciinema \ - _at _attr _augeas _avahi _awk \ - _base64 _basename _bash _baudrates _baz \ - _beep _bibtex _bind_addresses _bison _bittorrent \ - _bogofilter _bpf_filters _bpython _bzip2 _bzr \ - _cabal _cal _calendar _canonical_paths _cat \ - _ccal _cdcd _cdrdao _cdrecord _chkconfig \ - _chmod _chown _chroot _chsh _cksum \ - _clay _cmdambivalent _cmdstring _cmp _column \ - _comm _composer _compress _configure _cowsay \ - _cp _cpio _cplay _crontab _cscope \ - _cssh _ctags_tags _curl _cut _cvs \ - _darcs _date _date_formats _dates _dbus \ - _dconf _dd _devtodo _df _dhclient \ - _dict _dict_words _diff _diff3 _diff_options \ - _diffstat _dig _dir_list _directories _django \ - _dmesg _dmidecode _dns_types _doas _domains \ - _dos2unix _drill _dsh _dtruss _du \ - _dvi _ecasound _ed _elfdump _elinks \ - _email_addresses _enscript _entr _env _espeak \ - _etags _fakeroot _feh _fetchmail _ffmpeg \ - _figlet _file_modes _file_systems _files _find \ - _find_net_interfaces _finger _flac _flex _fmt \ - _fold _fortune _fsh _fuser _gcc \ - _gcore _gdb _gem _genisoimage _getconf \ - _getent _getfacl _getmail _getopt _ghostscript \ - _git _global _global_tags _gnu_generic _gnupod \ - _gnutls _go _gpg _gphoto2 _gprof \ - _gradle _graphicsmagick _grep _groff _groups \ - _growisofs _gsettings _guilt _gzip _have_glob_qual \ - _head _hexdump _host _hostname _hosts \ - _iconv _id _ifconfig _iftop _imagemagick \ - _init_d _initctl _install _iostat _ip \ - _ipsec _irssi _ispell _java _java_class \ - _joe _join _jq _killall _knock \ - _kvno _last _ld_debug _ldconfig _ldd \ - _less _lha _libvirt _links _list_files \ - _lldb _ln _loadkeys _locale _localedef \ - _locales _locate _look _lp _ls \ - _lsof _lua _luarocks _lynx _lz4 \ - _lzop _mail _mailboxes _make _man \ - _md5sum _mencal _mh _mime_types _mkdir \ - _mkfifo _mknod _mktemp _module _monotone \ - _moosic _mosh _mount _mpc _mt \ - _mtools _mtr _mutt _mv _my_accounts \ - _myrepos _mysql_utils _mysqldiff _ncftp _net_interfaces \ - _netcat _netstat _newsgroups _nginx _ngrep \ - _nice _nkf _nl _nm _nmap \ - _npm _nslookup _numfmt _objdump _object_files \ - _od _openstack _other_accounts _pack _pandoc \ - _paste _patch _patchutils _path_commands _path_files \ - _pax _pbm _pdf _perforce _perl \ - _perl_basepods _perl_modules _perldoc _pgrep _php \ - _picocom _pids _pine _ping _pkg-config \ - _pkg_instance _pkgadd _pkginfo _pkgrm _pon \ - _ports _postfix _postgresql _postscript _printenv \ - _printers _process_names _prove _ps _pspdf \ - _psutils _pump _pv _pwgen _pydoc \ - _python _python_modules _qemu _quilt _rake \ - _ranlib _rar _rclone _rcs _readelf \ - _readlink _remote_files _renice _ri _rlogin \ - _rm _rmdir _route _rrdtool _rsync \ - _rubber _ruby _runit _samba _sccs \ - _scons _screen _script _seafile _sed \ - _seq _service _services _setfacl _sh \ - _shasum _showmount _shred _shuf _shutdown \ - _signals _sisu _slrn _smartmontools _socket \ - _sort _spamassassin _split _sqlite _sqsh \ - _ssh _ssh_hosts _stat _stdbuf _stgit \ - _stow _strings _strip _stty _su \ - _subversion _sudo _surfraw _swaks _swanctl \ - _swift _sys_calls _sysctl _tac _tail \ - _tar _tar_archive _tardy _tcpdump _tcptraceroute \ - _tee _telnet _terminals _tex _texi \ - _texinfo _tidy _tiff _tilde_files _time_zone \ - _timeout _tin _tla _tmux _todo.sh \ - _toilet _top _topgit _totd _touch \ - _tput _tr _transmission _tree _truss \ - _tty _ttys _twidge _twisted _umountable \ - _unace _uname _unexpand _uniq _unison \ - _units _uptime _urls _user_admin _user_at_host \ - _users _users_on _vcsh _vim _visudo \ - _vmstat _vorbis _vpnc _w _w3m \ - _watch _wc _webbrowser _wget _whereis \ - _who _whois _wiggle _xargs _xmlsoft \ - _xmlstarlet _xmms2 _xxd _xz _yafc \ - _yodl _yp _zcat _zdump _zfs \ - _zfs_dataset _zfs_keysource_props _zfs_pool _zip _zpool \ - _zsh _acroread _code _dcop _eog \ - _evince _geany _gnome-gv _gqview _gv \ - _kdeconnect _kfmclient _matlab _mozilla _mplayer \ - _mupdf _nautilus _nedit _netscape _okular \ - _pdftk _qiv _rdesktop _setxkbmap _sublimetext \ - _urxvt _vnc _x_arguments _x_borderwidth _x_color \ - _x_colormapid _x_cursor _x_display _x_extension _x_font \ - _x_geometry _x_keysym _x_locale _x_modifier _x_name \ - _x_resource _x_selection_timeout _x_title _x_utils _x_visual \ - _x_window _xauth _xautolock _xclip _xdvi \ - _xfig _xft_fonts _xloadimage _xmodmap _xournal \ - _xpdf _xrandr _xscreensaver _xset _xt_arguments \ - _xt_session_id _xterm _xv _xwit _zeal \ - _add-zle-hook-widget _add-zsh-hook _alias _aliases _arrays \ - _assign _autocd _bindkey _brace_parameter _builtin \ - _cd _command _command_names _compadd _compdef \ - _completers _condition _default _delimiters _directory_stack \ - _dirs _disable _dynamic_directory_name _echotc _echoti \ - _emulate _enable _equal _exec _fc \ - _file_descriptors _first _functions _globflags _globqual_delims \ - _globquals _hash _history_modifiers _in_vared _jobs \ - _jobs_bg _jobs_builtin _jobs_fg _kill _limit \ - _limits _math _math_params _mere _module_math_func \ - _options _options_set _options_unset _parameter _parameters \ - _precommand _print _prompt _ps1234 _read \ - _redirect _run-help _sched _set _setopt \ - _source _strftime _subscript _suffix_alias_files _tcpsys \ - _tilde _trap _ttyctl _typeset _ulimit \ - _unhash _user_math_func _value _vared _vars \ - _wait _which _widgets _zargs _zattr \ - _zcalc _zcalc_line _zcompile _zed _zftp \ - _zle _zmodload _zmv _zparseopts _zpty \ - _zsh-mime-handler _zsocket _zstyle _ztodo +autoload -Uz _afew _android _archlinux-java _artisan _atach \ + _bitcoin-cli _bower _bundle _caffeinate _cap \ + _cask _ccache _cf _cheat _choc \ + _chromium _cmake _coffee _composer _conan \ + _concourse _console _dad _debuild _dget \ + _dhcpcd _diana _docpad _drush _ecdsautil \ + _emulator _envdir _exportfs _fab _ffind \ + _fleetctl _flutter _force _fwupdmgr _gas \ + _ghc _gist _git-flow _git-journal _git-pulls \ + _git-wtf _glances _golang _google _gtk-launch \ + _hledger _homestead _httpie _ibus _include-what-you-use \ + _inxi _jmeter _jmeter-plugins _jonas _jrnl \ + _kak _kitchen _knife _language_codes _libinput \ + _lunchy _middleman _mina _mix _mpv \ + _mussh _mvn _nano _nftables _node \ + _nvm _openssl _optirun _patool _perf \ + _periscope _pgsql_utils _phing _pixz _pkcon \ + _play _pm2 _port _pygmentize _rails \ + _ralio _redis-cli _rfkill _rkt _rslsync \ + _rspec _rsvm _rubocop _sbt _scala \ + _scrub _sdd _setcap _setup.py _sfdx \ + _showoff _srm _stack _subl _subliminal \ + _supervisorctl _sv _svm _tarsnap _teamocil \ + _thor _tmuxinator _tmuxp _tox _trash-empty \ + _trash-list _trash-put _trash-restore _udisksctl _ufw \ + _vagrant _virtualbox _vnstat _wemux _wg-quick \ + _xbps _xbps_src _xinput _xsel _xtools \ + _xwallpaper _yaourt _yarn _youtube-dl _zathura \ + _zcash-cli _cdr _all_labels _all_matches _alternative \ + _approximate _arg_compile _arguments _bash_completions _cache_invalid \ + _call_function _combination _comp_locale _complete _complete_debug \ + _complete_help _complete_help_generic _complete_tag _correct _correct_filename \ + _correct_word _describe _description _dispatch _expand \ + _expand_alias _expand_word _extensions _external_pwds _generic \ + _guard _history _history_complete_word _ignored _list \ + _main_complete _match _menu _message _most_recent_file \ + _multi_parts _next_label _next_tags _normal _nothing \ + _oldlist _pick_variant _prefix _read_comp _regex_arguments \ + _regex_words _requested _retrieve_cache _sep_parts _sequence \ + _set_command _setup _store_cache _sub_commands _tags \ + _user_expand _values _wanted _acpi _acpitool \ + _alsa-utils _analyseplugin _brctl _btrfs _chattr \ + _chcon _chrt _cpupower _cryptsetup _dkms \ + _e2label _ethtool _findmnt _free _fuse_arguments \ + _fuse_values _fusermount _gpasswd _htop _iconvconfig \ + _ionice _ipset _iptables _iwconfig _kpartx \ + _losetup _lsattr _lsblk _lsusb _ltrace \ + _mdadm _mii-tool _modutils _mondo _networkmanager \ + _opkg _pidof _pmap _qdbus _schedtool \ + _selinux_contexts _selinux_roles _selinux_types _selinux_users _setsid \ + _slabtop _ss _sshfs _strace _sysstat \ + _tload _tpb _tracepath _tune2fs _uml \ + _valgrind _vserver _wakeup_capable_devices _wipefs _wpa_cli \ + _a2ps _aap _abcde _absolute_command_paths _ack \ + _adb _ansible _ant _antiword _apachectl \ + _apm _arch_archives _arch_namespace _arp _arping \ + _asciidoctor _asciinema _at _attr _augeas \ + _avahi _awk _base64 _basename _bash \ + _baudrates _baz _beep _bibtex _bind_addresses \ + _bison _bittorrent _bogofilter _bpf_filters _bpython \ + _bzip2 _bzr _cabal _cal _calendar \ + _canonical_paths _cat _ccal _cdcd _cdrdao \ + _cdrecord _chkconfig _chmod _chown _chroot \ + _chsh _cksum _clay _cmdambivalent _cmdstring \ + _cmp _column _comm _composer _compress \ + _configure _cowsay _cp _cpio _cplay \ + _crontab _cscope _cssh _ctags_tags _curl \ + _cut _cvs _darcs _date _date_formats \ + _dates _dbus _dconf _dd _devtodo \ + _df _dhclient _dict _dict_words _diff \ + _diff3 _diff_options _diffstat _dig _dir_list \ + _directories _django _dmesg _dmidecode _dns_types \ + _doas _domains _dos2unix _drill _dsh \ + _dtruss _du _dvi _ecasound _ed \ + _elfdump _elinks _email_addresses _enscript _entr \ + _env _espeak _etags _fakeroot _feh \ + _fetchmail _ffmpeg _figlet _file_modes _file_systems \ + _files _find _find_net_interfaces _finger _flac \ + _flex _fmt _fold _fortune _fsh \ + _fuser _gcc _gcore _gdb _gem \ + _genisoimage _getconf _getent _getfacl _getmail \ + _getopt _ghostscript _git _global _global_tags \ + _gnu_generic _gnupod _gnutls _go _gpg \ + _gphoto2 _gprof _gradle _graphicsmagick _grep \ + _groff _groups _growisofs _gsettings _guilt \ + _gzip _have_glob_qual _head _hexdump _host \ + _hostname _hosts _iconv _id _ifconfig \ + _iftop _imagemagick _init_d _initctl _install \ + _iostat _ip _ipsec _irssi _ispell \ + _java _java_class _joe _join _jq \ + _killall _knock _kvno _last _ld_debug \ + _ldconfig _ldd _less _lha _libvirt \ + _links _list_files _lldb _ln _loadkeys \ + _locale _localedef _locales _locate _look \ + _lp _ls _lsof _lua _luarocks \ + _lynx _lz4 _lzop _mail _mailboxes \ + _make _man _md5sum _mencal _mh \ + _mime_types _mkdir _mkfifo _mknod _mktemp \ + _module _monotone _moosic _mosh _mount \ + _mpc _mt _mtools _mtr _mutt \ + _mv _my_accounts _myrepos _mysql_utils _mysqldiff \ + _ncftp _net_interfaces _netcat _netstat _newsgroups \ + _nginx _ngrep _nice _nkf _nl \ + _nm _nmap _npm _nslookup _numfmt \ + _objdump _object_files _od _openstack _other_accounts \ + _pack _pandoc _paste _patch _patchutils \ + _path_commands _path_files _pax _pbm _pdf \ + _perforce _perl _perl_basepods _perl_modules _perldoc \ + _pgrep _php _picocom _pids _pine \ + _ping _pkg-config _pkg_instance _pkgadd _pkginfo \ + _pkgrm _pon _ports _postfix _postgresql \ + _postscript _printenv _printers _process_names _prove \ + _ps _pspdf _psutils _pump _pv \ + _pwgen _pydoc _python _python_modules _qemu \ + _quilt _rake _ranlib _rar _rclone \ + _rcs _readelf _readlink _remote_files _renice \ + _ri _rlogin _rm _rmdir _route \ + _rrdtool _rsync _rubber _ruby _runit \ + _samba _sccs _scons _screen _script \ + _seafile _sed _seq _service _services \ + _setfacl _sh _shasum _showmount _shred \ + _shuf _shutdown _signals _sisu _slrn \ + _smartmontools _socket _sort _spamassassin _split \ + _sqlite _sqsh _ssh _ssh_hosts _stat \ + _stdbuf _stgit _stow _strings _strip \ + _stty _su _subversion _sudo _surfraw \ + _swaks _swanctl _swift _sys_calls _sysctl \ + _tac _tail _tar _tar_archive _tardy \ + _tcpdump _tcptraceroute _tee _telnet _terminals \ + _tex _texi _texinfo _tidy _tiff \ + _tilde_files _time_zone _timeout _tin _tla \ + _tmux _todo.sh _toilet _top _topgit \ + _totd _touch _tput _tr _transmission \ + _tree _truss _tty _ttys _twidge \ + _twisted _umountable _unace _uname _unexpand \ + _uniq _unison _units _uptime _urls \ + _user_admin _user_at_host _users _users_on _vcsh \ + _vim _visudo _vmstat _vorbis _vpnc \ + _w _w3m _watch _wc _webbrowser \ + _wget _whereis _who _whois _wiggle \ + _xargs _xmlsoft _xmlstarlet _xmms2 _xxd \ + _xz _yafc _yodl _yp _zcat \ + _zdump _zfs _zfs_dataset _zfs_keysource_props _zfs_pool \ + _zip _zpool _zsh _acroread _code \ + _dcop _eog _evince _geany _gnome-gv \ + _gqview _gv _kdeconnect _kfmclient _matlab \ + _mozilla _mplayer _mupdf _nautilus _nedit \ + _netscape _okular _pdftk _qiv _rdesktop \ + _setxkbmap _sublimetext _urxvt _vnc _x_arguments \ + _x_borderwidth _x_color _x_colormapid _x_cursor _x_display \ + _x_extension _x_font _x_geometry _x_keysym _x_locale \ + _x_modifier _x_name _x_resource _x_selection_timeout _x_title \ + _x_utils _x_visual _x_window _xauth _xautolock \ + _xclip _xdvi _xfig _xft_fonts _xloadimage \ + _xmodmap _xournal _xpdf _xrandr _xscreensaver \ + _xset _xt_arguments _xt_session_id _xterm _xv \ + _xwit _zeal _add-zle-hook-widget _add-zsh-hook _alias \ + _aliases _arrays _assign _autocd _bindkey \ + _brace_parameter _builtin _cd _command _command_names \ + _compadd _compdef _completers _condition _default \ + _delimiters _directory_stack _dirs _disable _dynamic_directory_name \ + _echotc _echoti _emulate _enable _equal \ + _exec _fc _file_descriptors _first _functions \ + _globflags _globqual_delims _globquals _hash _history_modifiers \ + _in_vared _jobs _jobs_bg _jobs_builtin _jobs_fg \ + _kill _limit _limits _math _math_params \ + _mere _module_math_func _options _options_set _options_unset \ + _parameter _parameters _precommand _print _prompt \ + _ps1234 _read _redirect _run-help _sched \ + _set _setopt _source _strftime _subscript \ + _suffix_alias_files _tcpsys _tilde _trap _ttyctl \ + _typeset _ulimit _unhash _user_math_func _value \ + _vared _vars _wait _which _widgets \ + _zargs _zattr _zcalc _zcalc_line _zcompile \ + _zed _zftp _zle _zmodload _zmv \ + _zparseopts _zpty _zsh-mime-handler _zsocket _zstyle \ + _ztodo autoload -Uz +X _call_program typeset -gUa _comp_assocs diff --git a/.config/zsh/.zshrc.swp b/.config/zsh/.zshrc.swp Binary files differ. diff --git a/.gitaddlist b/.gitaddlist @@ -17,7 +17,6 @@ git add ./.scripts/ git add ./.xprofile git add ./.vimrc git add ./.ls_colors -git add ./.wall git add ./.xinitrc git add ./.Xresources git add .config/bash/ @@ -47,7 +46,6 @@ git add .config/fff/fff git add .config/fff/config git add .config/dfm/config git add .config/dfm/bookmarks -git add .config/wall1 git add .config/youtube-viewer/youtube-viewer.conf git add .config/newsboat/config git add .config/mpv/input.conf @@ -55,7 +53,6 @@ git add .config/mpv/mpv.conf git add .config/i3/config git add .config/calcurse/keys git add .config/calcurse/conf -git add .config/wall2 git add .config/fish/config.fish git add .config/fish/alias git add .config/vimb/config diff --git a/.scripts/bin/display/rfeh b/.scripts/bin/display/rfeh @@ -19,16 +19,6 @@ getfiles() { files+=$(ls $dir | awk "/$1/ {print}") } -lock="$3" -baselockwith="$4" -if [ "$baselockwith" == "" ] -then - lockwith="i3lock" - lockop="-i" -else - lockwith="$(echo $baselockwith | awk '// {print $1}') - lockopt="$(echo $baselockwith | awk '// {print $2}') -fi monitors=$2 if [ "$2" == "" ] then @@ -38,6 +28,8 @@ then monitors=$(xrandr --listmonitors | awk '/Monitors/ {print $2}') fi +[ "$(echo "$3" | awk '/left|right/')" != "" ] && monitors=1 + allfiles() { for filetype in $filetypes do @@ -67,13 +59,15 @@ then else mkdir -p ~/.cache/rfeh fi +[ "$3" = "right" ] && { + left=$(awk '{print $1}' < $HOME/.cache/rfeh/prev) + files="$left $files" +} || [ "$3" = "left" ] && { + right=$(awk '{print $2}' < $HOME/.cache/rfeh/prev) + files="$files $right" + +}; echo $files echo $files > $HOME/.cache/rfeh/prev -if [ "$lock" == "true" ] -then - files=$(echo "$files" | tr " " "\n" | sed "s~^~$lockopt ~g" | tr "\n" " ") - $lockwith $files -else - files=$(echo "$files" | tr " " "\n" | sed "s~^~--bg-fill ~g" | tr "\n" " ") - feh $files -fi +files=$(echo "$files" | tr " " "\n" | sed "s~^~feh --bg-fill ~g" | tr "\n" " ") +$lockwith $files diff --git a/.scripts/bin/misc/.convf.swp b/.scripts/bin/misc/.convf.swp Binary files differ. diff --git a/.scripts/bin/misc/convf b/.scripts/bin/misc/convf @@ -0,0 +1,55 @@ +#!/bin/sh + +[ "$(echo "$1" | grep "help")" != "" ] && printf " + convf [conversion function] [options to function] + +$(tput bold)CONVERSION FUNCTIONS$(tput sgr0) + convert + ffmpeg\n" && exit + +count=0 +getfiles() { + files="$files $(ls | awk "/$1/ {print}")" +} +_convert(){ + convert $1 $opts $1 + touch $f/$count2 +} +_ffmpeg(){ + ffmpeg -i $1 $opts $1 + touch $f/$count2 +} + +opts=$(echo "$@" | sed 's/^[[:space:]]*[a-z]*//') +case "$1" in + convert) filetypes="png jpg jpeg jpe tif"; func="_convert" ;; + ffmpeg) filetypes="mkv opus mp4 mp3 m4a webm"; func="_ffmpeg" ;; + *) echo "$1: not supported."; exit ;; +esac + +total=$(ls $dir | wc -l) +f=$(mktemp -d) +for filetype in $filetypes +do + getfiles $filetype +done + +count2=0 +for file in $files +do + count2=$(($count2+1)) + $func $file & +done + +while true +do + sleep 0.1 + [ "$(ls $f)" = "" ] && break + count=$(find $f | wc -l) + count=$(($count-$total)) + count=$(echo "$count" | sed 's/^[[:space:]]*-//') + clear + echo "[$count/$total]" +done + +rm -rf $f diff --git a/.scripts/bin/misc/qmv b/.scripts/bin/misc/qmv @@ -0,0 +1,30 @@ +#!/bin/sh + +[ "$(echo "$1" | grep "help")" != "" ] && printf " + qmv [mode] [modeinfo] [files] + +$(tput bold)MODES & MODEINFO$(tput sgr0) + number [start number].[file extension]\n" && exit + +mode="$1" +modeinfo="$2" +all=$(echo "$@" | sed "s/^[[:space:]]*$mode//;s/^[[:space:]]*$modeinfo//") + +_number(){ + number=$(echo "$@" | grep -o "^[0-9]*") + fileext=$(echo "$@" | grep -o "\.[A-Za-z0-9]*" | sed 's/^\.//g') + + for file in $all + do + [ "$fileext" = "" ] && { + mv $file $number + } || { + mv $file $number.$fileext + }; number=$(($number+1)) + done +} + +case "$mode" in + number|numbered|num|n) _number "$modeinfo" ;; + *) echo "$mode: not a supported mode."; exit ;; +esac diff --git a/.scripts/bin/misc/sshtar b/.scripts/bin/misc/sshtar @@ -0,0 +1,22 @@ +#!/bin/sh + +[ "$(echo "$1" | grep "help")" != "" ] && printf ' + sshtar [files] [remote host]\n' && exit + +last="" +all="" + +for word in "$@" +do + last="$word" + all="$all $word" +done + +first=$(echo "$all" | sed "s/$last$//g;s/^ //g") +tar cjvf /tmp/sshtar.tar.bz $first +user=$(echo "$last" | grep -o "^[A-Za-z0-9]*") +clear +scp /tmp/sshtar.tar.bz $last:/home/$user +clear +printf "You gotta extract the stuff yourself now.\n\n" +ssh $last diff --git a/.scripts/bin/misc/urlhand b/.scripts/bin/misc/urlhand @@ -30,7 +30,7 @@ done var=$(dmenu -i -p "Select a handler" < ~/.cache/urlhand4 | grep -o '[0-9]*') hand=$(grep "$var:" < ~/.cache/urlhand2 | sed 's|\t|/|g' | sed 's/^[0-9]*://') -killall mpvlisten +pkill mpvlisten hmpv pause /tmp/mpv-socket hmpv pause /tmp/mpv-socket2 bash -c "$hand $arg" diff --git a/.scripts/i3blocks/convtodwm b/.scripts/i3blocks/convtodwm @@ -23,7 +23,6 @@ do ./mpv 2> /dev/null > ~/.cache/blocks/mpv & ./vol > ~/.cache/blocks/vol & sleep 3 - cd ~/.cache/blocks cd ~/.scripts/i3blocks swait=$(($swait+1)) done & diff --git a/.wall b/.wall @@ -1,2 +0,0 @@ -.config/wall1 -.config/wall2 diff --git a/general/makefile b/general/makefile @@ -6,6 +6,10 @@ tar: tar cjvf videos.tar.gz videos tar czvf mail.tar.gz mail tar czvf security.tar.gz security + tar cjvf games.tar.bz games + +dirclean: + rm -rf `find -type d` images.tar.bz: tar cjvf images.tar.bz images @@ -21,6 +25,8 @@ mail.tar.gz: tar czvf mail.tar.gz mail security.tar.gz: tar czvf security.tar.gz security +games.tar.bz: + tar czvf games.tar.bz games clean: rm *.tar.*z @@ -33,6 +39,7 @@ extract: tar xzvf videos.tar.gz tar xzvf mail.tar.gz tar xzvf security.tar.gz + tar xjvf games.tar.gz link: cd .. @@ -42,6 +49,7 @@ link: ln -s general/images/wallpapers .wallpapers ln -s general/mail mail ln general/security/pass work/pass + ln -s general/games/.openttd ./ unlink: unlink ../images