From bfbec8ef46aa9ed3fd0a6652490009bd56c47bad Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Tue, 19 May 2020 19:06:40 -0500 Subject: [PATCH] Make default RSS feeds suck less; automatically start modem monitor --- configs/sxmo_sfeedrc | 7 +++---- scripts/core/sxmo_statusbar.sh | 1 + scripts/core/sxmo_xinit.sh | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configs/sxmo_sfeedrc b/configs/sxmo_sfeedrc index 715e1e7..c7cbb1c 100644 --- a/configs/sxmo_sfeedrc +++ b/configs/sxmo_sfeedrc @@ -17,16 +17,15 @@ feeds() { # feed [basesiteurl] [encoding] feed 'Tech/HN' 'https://news.ycombinator.com/rss' feed 'Tech/Lobsters' 'https://lobste.rs/rss' - feed 'Tech/Pine64' 'https://www.pine64.org/blog/' + feed 'Tech/Pine64' 'https://www.pine64.org/rss' feed 'Tech/Slashdot' 'http://feeds.feedburner.com/SlashdotSitenews' feed 'Tech/Suckless' 'http://git.suckless.org/sites/atom.xml' + feed 'Tech/Soylent' 'http://soylentnews.org/index.rss' feed 'Yt/Distrotube' 'https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg' feed 'Yt/Budlabs' 'https://www.youtube.com/feeds/videos.xml?channel_id=UCi8XrDg1bK_MJ0goOnbpTMQ' feed 'Yt/LukeSmith' 'https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA' feed 'Yt/Rossman' 'https://www.youtube.com/feeds/videos.xml?channel_id=UCl2mFZoRqjw_ELax4Yisf6w' - - feed 'MSM/CNN' 'http://rss.cnn.com/rss/cnn_topstories.rss' - feed 'MSM/Fox' 'http://feeds.foxnews.com/foxnews/latest' + feed 'Yt/Brodie' 'https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA' } diff --git a/scripts/core/sxmo_statusbar.sh b/scripts/core/sxmo_statusbar.sh index dc7d39f..2ddbc43 100755 --- a/scripts/core/sxmo_statusbar.sh +++ b/scripts/core/sxmo_statusbar.sh @@ -6,6 +6,7 @@ audiodevice() { amixer sget Headphone > /dev/null && echo Headphone || echo Speaker } +sleep 2 UPDATEFILE=/tmp/sxmo_bar touch $UPDATEFILE diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index ef05cf9..7fa694b 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -7,6 +7,7 @@ xmodmap /usr/share/sxmo/xmodmap_caps_esc xsetroot -mod 3 2 -fg '#000000' -bg '#888888' xset s off -dpms alsactl --file /usr/share/sxmo/default_alsa_sound.conf restore +sxmo_modemmonitor.sh & #xset r off # E.g. for PBP