aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-news
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-27 03:45:56 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-27 03:45:56 +0200
commitabdfe0a5c2a86f19aafe12ae70663ddcf83a6e39 (patch)
treedce7bee8b783bfd12bdd5e691e1745ca4d0c12da /bin/ak-news
parent5c08911132823735801aa70a4e2a23bc3f1c859a (diff)
downloadarching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.tar.gz
arching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.tar.bz2
arching-kaos-tools-abdfe0a5c2a86f19aafe12ae70663ddcf83a6e39.zip
Applying new architecture with lib system
Diffstat (limited to 'bin/ak-news')
-rwxr-xr-xbin/ak-news18
1 files changed, 1 insertions, 17 deletions
diff --git a/bin/ak-news b/bin/ak-news
index 5ccc3a9..5dbc847 100755
--- a/bin/ak-news
+++ b/bin/ak-news
@@ -6,6 +6,7 @@ ZNEWSDIR="$AK_WORKDIR/news"
TEMP="/tmp/aktmp"
source $AK_LIBDIR/_ak_logit
+source $AK_LIBDIR/_ak_script_description
if [ ! -d $ZNEWSDIR ]; then
mkdir $ZNEWSDIR
@@ -60,24 +61,7 @@ _ak_modules_news_index(){
rm temp
}
-new_line(){
- printf '\n'
-}
-
-description(){
- full_title="$(printf '%s - %s' "$PROGRAM" "$descriptionString")"
- delimiter_count=`echo -n $full_title | wc -c`
- printf '%s' "$full_title"
- new_line
- while [ $delimiter_count -gt 0 ]
- do
- printf '='
- delimiter_count=$(($delimiter_count-1))
- done
- new_line
-}
_ak_modules_news_title(){
-# echo $PROGRAM
description
}