statusbar

minimal utilities for displaying system status information
git clone https://git.awy.one/statusbar
Log | Files | Refs | LICENSE

commit c175fb62220ce92568e87787b9835fda1c60ba25
parent 5302b6b775a1b3ab6c2bb38bab635a3c2193e1fa
Author: awy <awy@awy.one>
Date:   Sat, 27 Dec 2025 21:19:41 +0300

aerc

Diffstat:
Mcomponents/stmail.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/stmail.c b/components/stmail.c @@ -41,13 +41,13 @@ static void buttonhandler(void) if (!(term = getenv("TERMINAL"))) term = "footclient"; - const char *neomutt[] = {"sh", "-c", "setsid -w -f \"$TERMINAL\" -e neomutt", + const char *mailclient[] = {"sh", "-c", "setsid -w -f \"$TERMINAL\" -e aerc", NULL}; const char *mailup[] = {"mailup", NULL}; switch (button) { case 1: - pid = spawn(neomutt); + pid = spawn(mailclient); int status; waitpid(pid, &status, 0); updatebar(12); @@ -58,7 +58,7 @@ static void buttonhandler(void) /* case 3: sendnotif ("stmail", " Mail module", "- Shows unread mail\n- Shows  if syncing mail\n\ -- Left click opens neomutt\n\ +- Left click opens mail client\n\ - Middle click to mute."); break; */ default: