about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-08-15 23:07:00 -0700
committerensa <psii@riseup.net>2020-08-15 23:07:00 -0700
commit3f4e930385675a4613db5f12b19557b126c29559 (patch)
tree052b8a6d2ce5a41d984b3b46c2a15308137d2251 /bin
parenteec480ccb22f3166d723befc9522e8a25eabf8c1 (diff)
downloadcfg-3f4e930385675a4613db5f12b19557b126c29559.tar.gz
update, fixes
bin/fl: removed unnecessary newline escapes
config/
	X11/
		xprofile: added dvorak programmer
			replaced unclutter with xbanish
		xresources: switch to hermit for font
	aliasrc: lynx vikeys
	color/colors.sh: fixed & portablized color grabbing
	cwmrc: removed
	dunst/dunstrc: switch to hermit for font
	ksh/
		functions/
			man_complete: now uses ~cache
			mpvpin: args improved
		kshrc: added FCEDIT
			removed uptime from PF_INFO
		prompt.ksh: shored up
	lf/lfrc: prompt made more consistent with ksh's
	ncmpcpp/config: paths updated
	newsboat/config: path updated
	shrc: LAUNCHER added
		LOCK switched to xlockmore
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fl6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/fl b/bin/fl
index 8c058d7..bd98a63 100755
--- a/bin/fl
+++ b/bin/fl
@@ -14,8 +14,8 @@ re_urls='((https?://|www\.)[[:alnum:].]*:?[[:alnum:]./@$&%?$#=_-]*)'
 # finds links, puts them in a list
 # sort -u prevents duplicates, but also sorts the links
 urlparse() {
-	lstrip "$(cat)" "*\│" |\
-	grep -Eo "$re_urls" |\
+	lstrip "$(cat)" "*\│" |
+	grep -Eo "$re_urls" |
 	sort -u | sed 's|^www.|http://www\.|g'
 }
 if [ -n "$1" ]; then
@@ -28,5 +28,5 @@ fi
 IFS=
 
 # send any found links to dmenu so one can be chosen to be sent to the clipboard
-[ -n "$urls" ] &&\
+[ -n "$urls" ] &&
 	echo $urls | dmenu -i -p 'copy which url?' -l 10 | xclip -r -sel c
\ No newline at end of file