From 15f8c80c61e4ab372265368edc364321edfa4941 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Mon, 3 Nov 2025 16:51:51 +0100 Subject: feat(slstatus): remove padding from date day --- laptop.diff | 4 ++-- slstatus/config.def.h | 2 +- slstatus/config.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/laptop.diff b/laptop.diff index 8d7a56e..9d1329b 100644 --- a/laptop.diff +++ b/laptop.diff @@ -79,7 +79,7 @@ index b48aa4b..25ac18c 100644 --- a/slstatus/config.def.h +++ b/slstatus/config.def.h @@ -69,5 +69,7 @@ static const struct arg args[] = { - {datetime, "%s;", "%G. %B. %e. %a"}, + {datetime, "%s;", "%G. %B. %-e. %a"}, {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, + {wifi_essid, "%s ", "wlan0"}, @@ -91,7 +91,7 @@ index b48aa4b..25ac18c 100644 --- a/slstatus/config.h +++ b/slstatus/config.h @@ -69,5 +69,7 @@ static const struct arg args[] = { - {datetime, "%s;", "%G. %B. %e. %a"}, + {datetime, "%s;", "%G. %B. %-e. %a"}, {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, + {wifi_essid, "%s ", "wlan0"}, diff --git a/slstatus/config.def.h b/slstatus/config.def.h index b48aa4b..7052e30 100644 --- a/slstatus/config.def.h +++ b/slstatus/config.def.h @@ -66,7 +66,7 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - {datetime, "%s;", "%G. %B. %e. %a"}, + {datetime, "%s;", "%G. %B. %-e. %a"}, {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, {datetime, "%s ", "%H:%M:%S"}, diff --git a/slstatus/config.h b/slstatus/config.h index b48aa4b..7052e30 100644 --- a/slstatus/config.h +++ b/slstatus/config.h @@ -66,7 +66,7 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - {datetime, "%s;", "%G. %B. %e. %a"}, + {datetime, "%s;", "%G. %B. %-e. %a"}, {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"}, {keymap, "%s ", NULL}, {datetime, "%s ", "%H:%M:%S"}, -- cgit v1.2.3