14 lines
296 B
Bash
Executable file
14 lines
296 B
Bash
Executable file
#!/bin/sh
|
|
|
|
data="$HOME/.local/share/misc/welcome/data"
|
|
line=1
|
|
|
|
while true; do
|
|
clear; sed -n "$line,+4p" "$data"
|
|
printf "\n%s\n" "Press [ SHIFT ] + [ F1 ] to open the manual, Press [ CTRL ] + [ C ] to exit"
|
|
|
|
line=$((line+5))
|
|
|
|
[ "$(wc -l < "$data")" -lt "$line" ] && line=1
|
|
sleep 5
|
|
done
|