yaic

yet another ii client
git clone git://git.ckyln.com/~cem/yaic.git
Log | Files | Refs | README | LICENSE

commit d475f886dbeb97365f22d03bab19d48dc4770eb0
parent 6d776f11be20197acc53879e831fcf6d11deb560
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 26 Apr 2020 15:28:11 +0300

add ability to toggle bar

Diffstat:
Myaic | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/yaic b/yaic @@ -33,6 +33,7 @@ gethelp() { # by :h|:help msg \ "List of Commands" \ + ":b Toggles the upper bar" \ ":c|:chan Prints a list of open channels" \ ":c|:chan [channel] Changes the channel to the given channel" \ ":h|:help Prints this help information" \ @@ -232,6 +233,7 @@ main() { # shellcheck disable=2015 case "$msg" in '') continue ;; + :b) toggle NOBAR ; CHAN="${c:-.}" ; break ;; :c|:chan) getchan ; continue ;; ':c '*|':chan '*) # Check if the channel exists beforehand