dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 74019b9ffcc12b18e145cc436f13457294d36cbd
parent 90e18d203b8934e82739b45589ef1fc47aada2cc
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 18 Jun 2020 19:44:16 -0400

Merge branch 'master' of git.sr.ht:~jbauer/dotfiles

Diffstat:
M.config/newsboat/urls | 41+++++++++++++++++++++++++++--------------
Mscripts/sh/battery-notify.sh | 16++++++++--------
2 files changed, 35 insertions(+), 22 deletions(-)

diff --git a/.config/newsboat/urls b/.config/newsboat/urls @@ -1,27 +1,30 @@ ### Unread Meta Feed ### "query:Unread:unread = \"yes\"" meta +### RETAIL ### +https://www.canadacomputers.com/rss.php + ### NEWS ### https://www.debian.org/News/news News https://www.debian.org/security/dsa News https://distrowatch.com/news/dw.xml News -https://opensource.org/news.xml News +https://opensource.org/news.xml News "~opensource.org News" https://sfconservancy.org/feeds/news/ News https://sfconservancy.org/feeds/blog/ News ### YOUTUBE ### -https://www.youtube.com/feeds/videos.xml?channel_id=UCerEIdrEW-IqwvlH8lTQUJQ Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCS0N5baNlQWJCUrhCEo8WlA Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UChIs72whgZI9w6d6FhwGGHA Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCMb0O2CdPBNi-QqPk5T3gsQ Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCLx053rWZxCiYWsBETgdKrQ Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCFhXFikryT4aFcLkLw2LBLA Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCAfYntJkyJdnYbzDsOGu0qQ Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC6107grRI4m0o2-emgoDnAA Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCmtyQOKKmrMVaKuRXz02jbQ Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCy0tKL1T7wFoYcxCe0xjN6Q Youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCBa659QWEk1AI4Tg--mrJ2A Youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCerEIdrEW-IqwvlH8lTQUJQ Youtube "~YOUTUBE: Tech Tangents" +https://www.youtube.com/feeds/videos.xml?channel_id=UCS0N5baNlQWJCUrhCEo8WlA Youtube "~YOUTUBE: Ben Eater" +https://www.youtube.com/feeds/videos.xml?channel_id=UChIs72whgZI9w6d6FhwGGHA Youtube "~YOUTUBE: Gamer's Nexus" +https://www.youtube.com/feeds/videos.xml?channel_id=UCMb0O2CdPBNi-QqPk5T3gsQ Youtube "~YOUTUBE: James Hoffmann" +https://www.youtube.com/feeds/videos.xml?channel_id=UCLx053rWZxCiYWsBETgdKrQ Youtube "~YOUTUBE: LGR" +https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw Youtube "~YOUTUBE: LinusTechTips" +https://www.youtube.com/feeds/videos.xml?channel_id=UCFhXFikryT4aFcLkLw2LBLA Youtube "~YOUTUBE: Nile Red" +https://www.youtube.com/feeds/videos.xml?channel_id=UCAfYntJkyJdnYbzDsOGu0qQ Youtube "~YOUTUBE: RetroSpector78" +https://www.youtube.com/feeds/videos.xml?channel_id=UC6107grRI4m0o2-emgoDnAA Youtube "~YOUTUBE: SmarterEveryDay" +https://www.youtube.com/feeds/videos.xml?channel_id=UCmtyQOKKmrMVaKuRXz02jbQ Youtube "~YOUTUBE: Sebastian Lague" +https://www.youtube.com/feeds/videos.xml?channel_id=UCy0tKL1T7wFoYcxCe0xjN6Q Youtube "~YOUTUBE: Technology Connections" +https://www.youtube.com/feeds/videos.xml?channel_id=UCBa659QWEk1AI4Tg--mrJ2A Youtube "~YOUTUBE: Tom Scott" ### PODCASTS ### https://2.5admins.com/feed/podcast Podcast @@ -96,7 +99,7 @@ https://mikestone.me/feed/ Blog https://blog.nelhage.com/atom.xml Blog https://nixing.mx/feed.xml Blog https://nullbuffer.com/feed.xml Blog -https://parasurv.neocities.org/rss.xml Blog +https://parasurv.neocities.org/rss.xml Blog "~parasurv's webspace" https://ambrevar.xyz/atom.xml Blog https://rahulchowdhury.co/feed.xml Blog https://blog.jessfraz.com/index.xml Blog @@ -123,6 +126,16 @@ https://baez.link/feed/ Blog https://emanuelpina.pt/index.xml Blog https://randomthoughts.dk/index.xml Blog https://mxb.dev/feed.xml Blog +https://kevingal.com/feed.xml Blog +https://pista36.es/wordpress/index.php/feed/ Blog +https://www.thewkblog.com/?feed=rss2 Blog +https://ramblings.fred.moe/rss.xml Blog +https://fnux.ch/atom.xml Blog +https://100daysofhannah.hannahvollmer.net/feeds/posts/default?alt=rss Blog +https://zerokspot.com/index.xml Blog +https://jrswab.com/blog.atom Blog "~J.R. Swab's Blog" +https://jnduli.co.ke/feeds/all.atom.xml Blog +https://blog.samwhited.com/atom.xml Blog ### MY SITE ### https://www.paritybit.ca/feeds/sitewide-feed.xml diff --git a/scripts/sh/battery-notify.sh b/scripts/sh/battery-notify.sh @@ -5,17 +5,17 @@ get_percentage_BAT0() acpi | head -1 | cut -d' ' -f4 | tr -d '%,' } -get_percentage_BAT1() -{ - acpi | tail -1 | cut -d' ' -f4 | tr -d '%,' -} +# get_percentage_BAT1() +# { +# acpi | tail -1 | cut -d' ' -f4 | tr -d '%,' +# } pcent=$(get_percentage_BAT0) [ "$pcent" -eq 10 ]; notify-send -u critical -i battery-caution-symbolic \ "Battery Low" "Please plug in charger" -[ "$pcent" -eq 5 ]; notify-send -u critical -i battery-empty-symbolic \ +[ "$pcent" -lt 5 ]; notify-send -u critical -i battery-empty-symbolic \ "Battery Critically Low" "Save all work or plug in charger now" -pcent=$(get_percentage_BAT1) -[ "$pcent" -eq 10 ]; notify-send -u critical -i battery-low-symbolic \ - "External Battery Low" "Switching to internal battery soon" +# pcent=$(get_percentage_BAT1) +# [ "$pcent" -eq 10 ]; notify-send -u critical -i battery-low-symbolic \ +# "External Battery Low" "Switching to internal battery soon"