From 1ddfd9ba56511a4136dfe83e1f581ac52c79c0e9 Mon Sep 17 00:00:00 2001 From: ensa <@> Date: Sun, 6 Aug 2023 16:37:30 -0700 Subject: these commit titles don't have meaning anymore DEPENDENCIES.md: nixed. good riddance. i have no reason to think it was helpful and was a nightmare to update bin/ fcard: some tab changes. -z still broken fl: removed unnecessary lines from before flc's existence. flc: inherited IFS because of dmenu crap. tr -d to prevent pasting newlines. op: changed text/* to spawn a terminal. often op is invoked outside the terminal. shenv: looks at HOME_ETC for uniformity etc/ X11/xprofile: line for updating sfeed feeds aliasrc: colorizing lr ksh/kshrc: MANPATH extended to accommodate for user-specific packages, e.g python call_it_a_day updates packages and cleans the system, tracks how long that took mpv/mpv.conf: self-explanatory newsboat: not used anymore sfeedrc: new rss config, needs feed urls shrc: making room for sfeed, self-explanatory yt-dlp: mostly self-explanatory renaming new config for playlists, separate because you seemingly can't use directory markers in text substitution --- bin/fcard | 21 ++++++++++----------- bin/fl | 12 +----------- bin/flc | 2 ++ bin/op | 2 +- bin/shenv | 2 +- 5 files changed, 15 insertions(+), 24 deletions(-) mode change 100644 => 100755 bin/flc (limited to 'bin') diff --git a/bin/fcard b/bin/fcard index e4a851d..23edd30 100755 --- a/bin/fcard +++ b/bin/fcard @@ -20,17 +20,16 @@ grabbag() { size="$(wc -l)" oldlist="$(cat)" newlist="" - a=0 - while a="$size"; do - z="$(($(rand)%a))" - newlist="$(cut -d ' ' -f "$z"</dev/null 2>&1 & ;; #text text/*) - ${EDITOR:-vi} "$FILEPATH">/dev/null 2>&1 & ;; + ${TERMINAL:-xterm} -e ${EDITOR:-vi} "$FILEPATH">/dev/null 2>&1 & ;; #catchall *) echo "file $(basename "$FILEPATH") could not be opened. its type is $FILEMIME, go tell ensa that $(basename $0) didn't work" >/dev/stderr diff --git a/bin/shenv b/bin/shenv index b242955..6251155 100755 --- a/bin/shenv +++ b/bin/shenv @@ -1,5 +1,5 @@ #!/bin/sh # simply sources the shrc and runs a shell with that as its environment. # passes through all arguments that sh takes. to be used instead of sh. -. ${XDG_CONFIG_HOME:=$HOME/.config}/shrc +. ${HOME_ETC:=$HOME/etc}/shrc exec /bin/sh "$@" -- cgit 1.4.1-2-gfad0