This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script works with "Void Linux & Salix OS" | |
# | |
# Note: | |
# For "MANAGE_SERVICES=0" to work on Void/Salix double square brackets "[[ $MANAGE_SERVICES -eq 1 ]]" are required otherwise | |
# Void/Salix requires SERVICES='nzbget sonarr' to be commented out | |
# | |
# MAIL_BIN="/usr/sbin/sendmail" # Symbolic link to 'femtomail' | |
# $MAIL_BIN -s "$SUBJECT" "$EMAIL_ADDRESS" < $TMP_OUTPUT # remove "-s $SUBJECT" for 'femtomail' | |
####################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[module/herbstluftwm] | |
type = custom/script | |
exec-if = ps -C herbstluftwm >/dev/null 2>&1 | |
exec = MONITOR=HDMI-0 ~/.config/polybar/herbstluftwm.sh | |
tail = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Convert podcast feeds into an aria2 download script | |
- Setup feed output directories and URLS | |
- Run: python archive_podcast.py > aria2.txt | |
- Run: aria2c -i aria2.txt | |
Aria2 will download all the episodes and supports resuming of partial downloads | |
""" | |
import feedparser |