add sway config
add bashrc ignore xauthority add autounlocking keepass desktop entry add fonts for waybar add alacritty config move scripts location and adjust bashrc use materia theme sway and lockscreen add list packages script add ranger desktop item add mpd config add indicator ring to swaylock remove mpd password add global asdf tool versions add mako config update keys add swaylock theme add suspend to lock config move ssh commands to aliases tweak mpd section in waybar add kanshi config for work update bashrc
This commit is contained in:
8
home/default/scripts/wget-titles-from-urls
Executable file
8
home/default/scripts/wget-titles-from-urls
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Appends the title of a URL in the format of
|
||||
# "# Title\nURL\n\n"
|
||||
while read -r URL; do
|
||||
TITLE=`curl -L "$URL" | grep -o "<title>.*</title>" | sed -E "s/<title>(.*)<\/title>/\1/"`
|
||||
printf "# $TITLE\n$URL\n\n"
|
||||
done
|
Reference in New Issue
Block a user