From 95d7f502dfdc51ab35905cb8cef45fbfb4e36f85 Mon Sep 17 00:00:00 2001 From: Kris Yotam Date: Thu, 29 Jan 2026 00:24:13 -0600 Subject: [PATCH] Update config: add pipe delimiter and reorder blocks - Change delimiter from " " to " | " for better spacing - Reorder blocks for correct right-to-left display - Remove sb-help-icon --- config.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/config.h b/config.h index 7625de30dd666ac2c23433534db0d4359089cd44..c8732b0f1f04c79506c4c2932eea810ca3eee6d5 100644 --- a/config.h +++ b/config.h @@ -2,7 +2,7 @@ #define CONFIG_H // String used to delimit block outputs in the status. -#define DELIMITER " " +#define DELIMITER " | " // Maximum number of Unicode characters that a block can output. #define MAX_BLOCK_OUTPUT_LENGTH 50 @@ -17,24 +17,23 @@ #define TRAILING_DELIMITER 0 // Define blocks for the status feed as X(icon, cmd, interval, signal). -// Blocks from krisyotam's setup - async version +// Order: right to left in status bar (first entry appears rightmost) #define BLOCKS(X) \ - X("", "cat /tmp/recordingicon 2>/dev/null", 0, 9) \ - X("", "sb-dashboard", 0, 11) \ - X("", "sb-pacpackages", 0, 8) \ - X("", "sb-news", 0, 6) \ - X("", "sb-torrent", 20, 7) \ - X("", "sb-temps", 30, 20) \ - X("", "sb-disk", 60, 21) \ X("", "sb-aurora", 3600, 19) \ X("", "sb-doppler", 0, 13) \ X("", "sb-forecast", 18000, 5) \ + X("", "cat /tmp/recordingicon 2>/dev/null", 0, 9) \ + X("", "sb-torrent", 20, 7) \ + X("", "sb-news", 0, 6) \ X("", "sb-mailbox", 180, 12) \ + X("", "sb-pacpackages", 0, 8) \ + X("", "sb-disk", 60, 21) \ + X("", "sb-temps", 30, 20) \ X("", "sb-nettraf", 1, 16) \ + X("", "sb-internet", 5, 4) \ X("", "sb-volume", 0, 10) \ X("", "sb-battery", 5, 3) \ X("", "sb-clock", 60, 1) \ - X("", "sb-internet", 5, 4) \ - X("", "sb-help-icon", 0, 15) + X("", "sb-dashboard", 0, 11) #endif // CONFIG_H