about summary refs log tree commit diff stats
path: root/bin/fl
diff options
context:
space:
mode:
authorensa <@>2023-08-06 16:37:30 -0700
committerensa <@>2023-08-06 16:37:30 -0700
commit1ddfd9ba56511a4136dfe83e1f581ac52c79c0e9 (patch)
tree9940920dca61ab0ce2fd2dfe54d58f1c118313ed /bin/fl
parent75ee668954833ab6ba9287ed5eb16a9957edcac2 (diff)
downloadcfg-master.tar.gz
these commit titles don't have meaning anymore HEAD master
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
Diffstat (limited to 'bin/fl')
-rwxr-xr-xbin/fl12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/fl b/bin/fl
index cc8924a..1a2d0f7 100755
--- a/bin/fl
+++ b/bin/fl
@@ -5,7 +5,7 @@
 
 # from pure-sh-bible, strips from the start of a string
 lstrip() {
-	printf '%s\n' "${1##"$2"}"
+	printf '%s\n' "${1##$2}"
 }
 
 # url-finding regex
@@ -22,17 +22,7 @@ urlparse() {
 
 set -- $(urlparse "$@")
 
-# wipe IFS so dmenu handles being sent the links properly
-IFS=
-
 # send any found links to select so one can be chosen to be sent to the clipboard
-#select url;
-#do
-#	printf '%s' "$url"
-#done
 for url; do
 	printf '%s\n' "$url"
 done
-	
-#[ -n "$urls" ] &&
-#	echo $urls | dmenu -i -p 'copy which url?' -l 10 | xclip -r -sel c