Introduction
Introduction Statistics Contact Development Disclaimer Help
add another example to the man page showing some features - sfeed_curses - sfee…
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit aadc489e0add931d4a1ae07f3faf699e1ec2cf5b
parent 938ec955883fe31ca92c3eb8b3217e246d07ceaa
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 6 Aug 2021 18:21:03 +0200
add another example to the man page showing some features
Diffstat:
M README | 4 +++-
M sfeed_curses.1 | 32 +++++++++++++++++++++++++++++…
2 files changed, 34 insertions(+), 2 deletions(-)
---
diff --git a/README b/README
@@ -33,7 +33,9 @@ read/unread items in a different way a plain-text file with a…
URLs can be used. To enable this behaviour the path to this file can be
specified by setting the environment variable $SFEED_URL_FILE to the URL file:
- SFEED_URL_FILE=~/.sfeed/urls sfeed_curses ~/.sfeed/feeds/*
+ export SFEED_URL_FILE="$HOME/.sfeed/urls"
+ [ -f "$SFEED_URL_FILE" ] || touch "$SFEED_URL_FILE"
+ sfeed_curses ~/.sfeed/feeds/*
There is a shellscript "sfeed_markread" to process the read and unread items.
See the man page for more detailed information.
diff --git a/sfeed_curses.1 b/sfeed_curses.1
@@ -1,4 +1,4 @@
-.Dd August 3, 2021
+.Dd August 6, 2021
.Dt SFEED_CURSES 1
.Os
.Sh NAME
@@ -276,6 +276,36 @@ It can be used by the plumb or pipe program for scripting …
.Bd -literal
sfeed_curses ~/.sfeed/feeds/*
.Ed
+.Pp
+Another example which shows some features
+.Nm
+has:
+.Bd -literal
+export SFEED_AUTOCMD="2tgo"
+export SFEED_URL_FILE="$HOME/.sfeed/urls"
+[ -f "$SFEED_URL_FILE" ] || touch "$SFEED_URL_FILE"
+sfeed_curses ~/.sfeed/feeds/*
+.Ed
+.Pp
+Which does the following:
+.Bl -enum
+.It
+Set the current layout to a horizontal mode ('2' keybind').
+Showing a feeds sidebar on the top and the feed items on the bottom.
+.It
+Toggle showing only feeds with new items in the sidebar ('t' keybind).
+.It
+Go to the first row in the current panel ('g' keybind).
+.It
+Load the current selected feed ('o' keybind').
+.It
+Set a plain-text file to manage read and unread items.
+.It
+Check if this file exists, if it doesn't exist yet then create it.
+.It
+Open
+.Nm .
+.El
.Sh SEE ALSO
.Xr sfeed 1 ,
.Xr sfeed_content 1 ,
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.