Commit: 754b39ae61a98660b4993a91f804ad87d46fe33c
Parent: 9de71dab1c04e4f9ba741b3600e08378a644c2a8
Author: Randy Palamar
Date: Sun, 14 May 2023 08:09:46 -0600
sfeed: update config
* always save latest 30 entries
* set SFEED_URL_FILE in kshenv
Diffstat:
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.config/ksh/kshenv b/.config/ksh/kshenv
@@ -6,6 +6,7 @@ export HISTFILE=~/.config/ksh/history
export HISTSIZE=10000
export HISTCONTROL=ignoredups:ignorespace
export QT_STYLE_OVERRIDE=gtk2
+export SFEED_URL_FILE=$HOME/.cache/sfeed/urls
export EDITOR=vis
export VISUAL=vis
diff --git a/.config/sfeed/blogs.sh b/.config/sfeed/blogs.sh
@@ -5,6 +5,6 @@ feeds() {
}
order() {
- # only keep newest 10 entries
- sort -t ' ' -k1rn,1 | sed 10q
+ # only keep newest 30 entries
+ sort -t ' ' -k1rn,1 | sed 30q
}
diff --git a/.config/sfeed/soft.sh b/.config/sfeed/soft.sh
@@ -13,6 +13,6 @@ filter() {
}
order() {
- # only keep newest 10 entries
- sort -t ' ' -k1rn,1 | sed 10q
+ # only keep newest 30 entries
+ sort -t ' ' -k1rn,1 | sed 30q
}
diff --git a/.config/sfeed/videos.sh b/.config/sfeed/videos.sh
@@ -10,6 +10,6 @@ filter() {
}
order() {
- # only keep newest 6 entries
- sort -t ' ' -k1rn,1 | sed 6q
+ # only keep newest 30 entries
+ sort -t ' ' -k1rn,1 | sed 30q
}