summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/newsboat/config12
-rwxr-xr-x.local/bin/dmlog7
2 files changed, 13 insertions, 6 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 99452c1..abb6d41 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -6,8 +6,8 @@ confirm-mark-feed-read no
reload-threads 100
text-width 80
show-keymap-hint no
-show-title-bar no
-swap-title-and-hints no
+show-title-bar yes
+swap-title-and-hints yes
history-limit 0
ignore-mode download
notify-program ~/.local/bin/newsboat-notif
@@ -61,9 +61,11 @@ macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-
macro v set browser "linkview"; open-in-browser ; set browser linkhandler
macro w set browser "linkview"; open-in-browser ; set browser linkhandler
-datetime-format "%y-%m-%d %H:%M"
-articlelist-format "%D - %t"
-feedlist-format "%?T?%n%8u %t [%T]&#%-8t----------------------------------------------------------?"
+feedlist-title-format "feeds (%u/%t)%?T? - tag '%T'&?"
+articlelist-title-format "'%T' (%u/%t)"
+datetime-format "%y-%m-%d %H:%M"
+articlelist-format "%D - %t"
+feedlist-format "%?T?%n%8u %t [%T]&#%-8t----------------------------------------------------------?"
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
highlight article "(^Link:.*|^Date:.*)" default default
diff --git a/.local/bin/dmlog b/.local/bin/dmlog
index 9244cbf..6256be8 100755
--- a/.local/bin/dmlog
+++ b/.local/bin/dmlog
@@ -64,7 +64,12 @@ sub action
"-fail-color", "0xcc241d");
}
else {
- exec(XSCREENSAVER_PATH, '-lock');
+ if (HOSTNAME eq 'po-rbo') {
+ exec(SLOCK_PATH);
+ }
+ else {
+ exec(XSCREENSAVER_PATH, '-lock');
+ }
}
}
elsif ($var eq ${+LIST}[1]) {