. - dotfiles - Unnamed repository; edit this file 'description' to name the rep… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 2ca006eccf0ee98f5f90a19dc62c8859b370ee66 | |
parent 715b6fb337643fb127de51dbdf692cf22a9cd149 | |
Author: Jay Scott <[email protected]> | |
Date: Mon, 4 Apr 2022 09:42:24 +0100 | |
. | |
Diffstat: | |
M bin/link_handler.sh | 2 +- | |
M bootstrap.sh | 22 ++++++++++++++-------- | |
M fdm/fdm.conf | 1 + | |
M newsboat/urls | 22 +++++++++++----------- | |
4 files changed, 27 insertions(+), 20 deletions(-) | |
--- | |
diff --git a/bin/link_handler.sh b/bin/link_handler.sh | |
@@ -13,7 +13,7 @@ uri="$1" | |
uri_lower="$(printf "%s" "$uri" | tr '[:upper:]' '[:lower:]')" | |
case "$uri_lower" in | |
-*.mkv | *.mp4 | *.webm | *'youtube.com'*) | |
+*.mkv | *.mp4 | *.webm | *'youtube.com'* | *'odysee.com'*) | |
$player "$uri" & | |
;; | |
*.torrent | 'magnet:'*) | |
diff --git a/bootstrap.sh b/bootstrap.sh | |
@@ -24,25 +24,31 @@ aur_clean() { | |
} | |
aur_init() { | |
- if [ -f /etc/arch-release ]; then | |
- git clone https://aur.archlinux.org/paru.git /tmp/paru | |
- cd /tmp/paru && makepkg -si --noconfirm --needed | |
- $AUR -S --needed - <"$DOTFILES/pkg/archlinux" | |
+ if ! [ -f /etc/arch-release ]; then | |
+ echo "You are not running ArchLinux" | |
+ exit 1 | |
+ fi | |
+ | |
+ if ! command -v $AUR >/dev/null; then | |
+ echo "Installing $AUR" | |
+ git clone "https://aur.archlinux.org/$AUR.git" "/tmp/$AUR" | |
+ cd "/tmp/$AUR" && makepkg -si --noconfirm --needed | |
fi | |
} | |
backup() { | |
- crontab -l >"$DOTFILES/crontab" | |
- $AUR -Qqe >"$DOTFILES/pkg/archlinux" | |
+ crontab -l >"$DOTFILES"/crontab | |
+ $AUR -Qqe >"$DOTFILES"/pkg/archlinux | |
} | |
restore() { | |
crontab "$DOTFILES/crontab" | |
+ #$AUR -S --needed - <"$DOTFILES/pkg/archlinux" | |
} | |
testsh() { | |
- shellcheck -s sh "$DOTFILES/bin/*.sh" | |
- shfmt -p -w "$DOTFILES/bin/*.sh" | |
+ shellcheck -s sh "$DOTFILES"/bin/*.sh | |
+ shfmt -p -w "$DOTFILES"/bin/*.sh | |
} | |
if [ $# -eq 0 ]; then | |
diff --git a/fdm/fdm.conf b/fdm/fdm.conf | |
@@ -23,6 +23,7 @@ action "keep" maildir "${path}/keep" | |
action "obsd-misc" maildir "${obsd}/misc" | |
action "obsd-ports" maildir "${obsd}/ports" | |
action "obsd-tech" maildir "${obsd}/tech" | |
+action "obsd-announce" maildir "${obsd}/announce" | |
# openbsd mailing list | |
diff --git a/newsboat/urls b/newsboat/urls | |
@@ -16,8 +16,6 @@ https://hnrss.org/frontpage "!" "~Hacker News" linux | |
# MEDIA | |
https://showrss.info/other/all.rss "!" "~TV Torrents" media | |
http://feed.rutracker.cc/atom/f/1992.atom "!" "~Linux Torrents" media | |
-https://predb.me/?cats=movies-hd&rss=1 "!" "~PRE-DB Movies" media | |
-https://www.traileraddict.com/rss "!" "~Trailers" media | |
# GAMING | |
https://boilingsteam.com/feed/ "!" "~Boiling Steam" gaming | |
@@ -33,7 +31,6 @@ https://git.suckless.org/dmenu/atom.xml "!"~dmenu" apps | |
https://github.com/dudik/herbe/commits/master.atom "!" "~herbe" apps | |
https://github.com/eafer/rdrview/commits/master.atom "!" "~rdrview" apps | |
- | |
# PEOPLE | |
https://codemadness.org/atom.xml "!" "~CodeMadness" people | |
https://drewdevault.com/blog/index.xml "!" "Drew DeVault" people | |
@@ -47,17 +44,25 @@ https://www.uninformativ.de/blog/feeds/en.atom "!" "~Uninfo… | |
"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" "!" "~Foobucket Gemlog"… | |
"exec:gemget midnight.pub/feed.xml --output -" "!" "~Midnight Pub" gemini | |
+# ODYSEE | |
+https://odysee.com/$/rss/@AlphaNerd:8 "!" "~Mental Outlaws" youtube | |
+https://odysee.com/$/rss/@TheLinuxExperiment:e "!" "~Linux Experiment" youtube | |
+https://odysee.com/$/rss/@DistroTube:2 "!" "~DistroTube" youtube | |
+https://odysee.com/$/rss/@BrodieRobertson:5 "!" "~Brodie Robertson" youtube | |
+https://odysee.com/$/rss/@OfficialZaney:8 "!" "~Zaney" youtube | |
+https://odysee.com/$/rss/@OfficialZaney:8 "!" "~Linux Cast" youtube | |
+https://odysee.com/$/rss/@SystemCrafters:e "!" "~System Crafters" youtube | |
+https://odysee.com/$/rss/@tuxfoo:e "!" "~Tuxfoo" youtube | |
+https://odysee.com/$/rss/@hexdsl:7 "!" "~HexDSL" youtube | |
+ | |
# YOUTUBE | |
https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCDWIvJwLJsE4LG1Atne2blQ "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCKygRpISlqs5TufcT3JtRng "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCRE3NFNtdjR96-H4QG4U1Fg "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "… | |
@@ -72,7 +77,6 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnX… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCWm__g4cPmX-umorqM8VfWw "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCwMsZgvi4ok7l5hIml1SprA "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCWpoyqSBIXtylRLFgP3PFfg "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCmSwBBdhuJ39zaA437NaeXA "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCeKshd39k29Ipg9sWVaU3-Q "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCqRs-3IcoKCMGXsfLvOgTUg "… | |
@@ -81,7 +85,3 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N9… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "… | |
https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCmw-QGOHbHA5cDAvwwqUTKQ "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCylGUf9BvQooEFjgdNudoQg "… | |
-https://www.youtube.com/feeds/videos.xml?channel_id=UCAiiOTio8Yu69c3XnR7nQBQ "… |