sev [Wed, 3 Mar 2021 08:35:53 +0000 (02:35 -0600)]
add termux, organize .Xresources, export FPATH
a side-effect of a the FPATH cleanup and fixes is that the export was
removed for it. PATH is automatically flagged for export by default, but
FPATH is not, so it must be exported to survive subshells.
sev [Wed, 3 Mar 2021 07:14:34 +0000 (01:14 -0600)]
code cleanup, add su support
cleanup renames some internal vars, moves SSH/GPG setup back to .zshenv,
and upgrades SSH setup to give more information about what it is doing.
su support will allow you to switch to another user with a non-login
shell and, as long as they are using zsh with the same dotfiles, you
will get a proper environment set up as if it were a login shell; this
is a lot easier and more comfortable than making an alias to or manually
passing SSH_AUTH_AGENT and other vars via sudo... for now.
an attempt should be made to make super user switching more portable by
adding support for doas and bog-standard su in aliases and elsewhere.
sev [Tue, 23 Feb 2021 11:51:04 +0000 (05:51 -0600)]
partially revert zsh refactor, fix zsh conf bugs
some systems do not like having everything in zprofile due to how their
system configs are laid out, and some things that were assumed to carry
over into subshells did not actually do so. partially revert zsh
refactor by moving affected stuff back into .zshrc, such as promptinit,
compinit, vcs_info, bindkeys, etc.
this commit also fixes a bug in preexec that caused unnecessary
expansion due to using incorrect opts for print.
sev [Tue, 23 Feb 2021 07:54:28 +0000 (01:54 -0600)]
update zsh, X, gpg config; add ssh config, gpg bin
significant changes:
- gpg socket and ssh agents are now automatically forwarded
- big zsh refactor with better gpg and ssh agent support, and better keybinds
Xresources:
- fix Xft
gitconfig:
- set default branch to master
xinitrc:
- remove outdated code to source site local/system scripts, that should
not be our problem
- load xrdb/xmodmap sooner
- fix gnu find opt ordering
- move ssh-agent to zsh startup
- suppress test urxvtc output
zsh:
- move PATH, FPATH, LANG, XDG, ~/tmp to zshenv
- shim /etc/zprofile changing path in .zprofile
- move .zshrc contents to .zprofile
- replace magic functions with add-zsh-hook and add-zle-hook-widget
- automate bindkey with zkbd and terminfo
bin:
- add gpg-learn-keys for scd
- fix pinentry
gpg:
- disable throw-keyids, this breaks other stuff
install.sh:
- do not run .zprofile
- add .ssh folder support
sev [Wed, 14 Oct 2020 04:26:29 +0000 (23:26 -0500)]
more gpg stuff
revert pointless gpg-agent.conf comments
update pinentry config to point to user-local bin
add pinentry script to auto-pick pinentry like Debian, but portable
add sshcontrol
sev [Tue, 13 Oct 2020 06:00:57 +0000 (01:00 -0500)]
refactored zsh configs, commented gpg-agent.conf
zsh:
- added vim modeline and site-local import to every file
- added .zlogin following the above
- moved arrows prompt to subdirectory
- updated arrows prompt to make right mode look better
- moved everything out of .zshenv, it never should have went there
- moved interactive content to .zshrc and set-once content to .zprofile
- updated application loading (perl, gpg)
sev [Thu, 8 Oct 2020 14:20:14 +0000 (09:20 -0500)]
add gpg, update install.sh, fix .zshenv.local
gpg configs added and install.sh updated for them
gpg agent started under .zshenv
fixed .zshenv.local not being read
removed oboslete dabuild references from install.sh
sev [Mon, 8 Jun 2020 07:52:23 +0000 (02:52 -0500)]
update urxvtd detection, new script `wall'
TERMINAL checks for urxvtd will now use `which' for portability.
`wall' script added that pulls from Mysplash API for random backgrounds
updated .xinitrc to use wall
sev [Tue, 12 May 2020 00:07:50 +0000 (19:07 -0500)]
head all which, fix dmenu recursion, fix syncthing
synthing still used hardcoded BSD path, swith to dynamic searches.
always use `head -1` with which due to non-portability.
use $HOME instead of ~ to avoid non-portability.
update scripts, vim plugins, fonts, firefox, tint2
remove references to Dina, change to monospace; fontconfig changes have
broken various bcf/pcf fonts and being able to change fonts by only
adjusting the remaining two hard references (fonts.conf and .Xresources)
is very much preferred.
updated various scripts and rc's
added setup-perl5 to quickly initialize local::lib
update Dina font to 2.93, update LICENSE and add NEWS (changelog)
explicitly set rgb pixel alignment
remove fonts.scale and fonts.dir
replace i3bar with tint2
update tint2 config
remove Luakit config
update subprojects
update Firefox theme, script loader, and user.js
updated user-overrides.js for ff 62+
updated dunstrc icon paths with actual paths instead of guessing
detached userChrome.js code from .css into .xml
added syslinux.cfg (no scripted install)
ds6 [Thu, 30 Aug 2018 09:55:14 +0000 (04:55 -0500)]
firefox/user.js, new fonts, fontconfig, modeliner
updated install.sh, better test mode and changed some semantics
added support for Firefox via ghacks user.js
changed xdg-open to just firefox in .Xresources
moved fonts dir out of xorg
changed .gitignore to look for moved font .uuids
added Adobe Source fonts and license
added Dina license
added fontconfig conf
added vim modeliner plugin
enabled vim modelines (!!!), a more secure option is desired
ds6 [Sun, 12 Aug 2018 11:53:20 +0000 (06:53 -0500)]
update submodules, remove bsd shims, fix bugs
remove .login_conf, .mailrc
simplify $HOME usage overall, only use where needed
fix old changed paths (l -> lck)
shorten bsd-specific paths (`/usr/local', etc)
add tint2-alsa, only supports alsa, bsd has oss volumeicon pkg
specific additions & changes in files:
.Xresources: fix/upd matcher, unbreak unicode, add yeahconsole
.xinitrc: now uses zsh for env, still sh-compatible
.xinitrc: remove conky stuff for now, rely on urxvtd now
.zprofile: fix tmp folder generation and links, go on all userlands
.zshenv: add XDG_RUNTIME_DIR
.zshrc: update aliases, accept pstree, deprecate wscons kludge
tint2-wifi: remove bsd stuff, require linux /proc... might readd
timt2-i3status: fix busybox lack of -u, makes output choke(!)
install.sh: use portable -perm, remove broken android "fix",
better icon theme detection
compton.conf: change shadows, temp fix for unknown crash
i3/config: compat with sway, split all colors into single words
tint2rc: update colors, update to latest config version
ds6 [Sat, 26 May 2018 08:41:43 +0000 (03:41 -0500)]
always kludge wscons, ignore fontconig .uuid
unable to determine best way to fix wscons, especially through ssh
connections where local host information is not always available. best
to just always kludge, it doesn't hurt anything with my setup but
clients that use non-white foregrounds may experience issues.
also, ignore fontconfig .uuid while we're here
change cursor to Paper
ds6 [Thu, 24 May 2018 03:28:27 +0000 (22:28 -0500)]
refactor submodules, add xorg, small fixes & changes
Xorg font descr changed to be less specific
Xcursor modified (pointless future-proofing)
temporarily removed urxvt unicode termName for NetBSD
fixed xdotool in xinitrc
deprecate tint2, etc in xinitrc in favor of i3status (soon conky)
LC, LANG, PATH to .zshenv; don't rely on FreeBSD login env
fixed XDG, etc vars to accept pkgsrc and other paths
fix OSTYPE, local vars, NetBSD wscons fix in .zshrc
add NetBSD mixerctl, /dev/sound aliases
improve FreeBSD sound aliases
dmenu color script no longer uses fixed dmenu path
add i3-mode, i3-printinfo; remove tint2-i3mode
install.sh:
fix & add more dirs, uname -o -> -s, add `test' arg
add xorg icons, themes, fonts; remove .hushlogin
hardcode XDG env vars, may not be set yet
zsh now sets its own path in zshrc
zshenv.local is now loaded last
all bsdisms have been moved to blocks
netbsd support added for zsh
fixed wscons issues with xterm escapes
workaround for %f prompt escape on wscons
ds6 [Sun, 25 Feb 2018 12:27:39 +0000 (06:27 -0600)]
fix some file redirects
in hindsight .zprofile should probably be put in a cronjob to avoid
affecting things run as the dotfile user before they log in, but doing
that may go outside the scope of install.sh
ds6 [Sun, 25 Feb 2018 12:15:48 +0000 (06:15 -0600)]
move vim tmp to var/tmp/vim, softlink tmp to /tmp
~/tmp will now point to /tmp so that it will be cleared regularly on
systems that have temporary /tmp storage. been meaning to do this for a
while but this is a more stable solution than anything else. explicitly
calls for BSDs to avoid issues with eg. termux
vim will now use ~/var/tmp/vim instead of ~/tmp/vim so that its files
will remain longer
adjusted install.sh for these changes + some cleanup
ds6 [Tue, 9 Jan 2018 15:13:16 +0000 (09:13 -0600)]
vim packages, Xft, urxvt perl, root console, zshrc
vim packages have been added as submodules
todo.txt deleted from .vim root and added as package
square cursor, and Xft and other font changes in Xresources
URxvtRoot has been re-enabled as URxvtBG, style finalized
zshrc organization and git vcs/alias changes