aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-28 14:29:34 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-28 14:29:34 +0200
commit15c5d30c7ed6ca9f4411ea238f559612e488b8fc (patch)
tree75b50d7a8fd5e9faad2e8b3416b55e5d32d7fc18
parent5b0cef098e5df95183a1337e3f6adf91cf1ca3f5 (diff)
downloaddiffs-15c5d30c7ed6ca9f4411ea238f559612e488b8fc.tar.gz
diffs-15c5d30c7ed6ca9f4411ea238f559612e488b8fc.tar.bz2
diffs-15c5d30c7ed6ca9f4411ea238f559612e488b8fc.zip
update
-rw-r--r--slstatus_240525.diff50
1 files changed, 0 insertions, 50 deletions
diff --git a/slstatus_240525.diff b/slstatus_240525.diff
deleted file mode 100644
index 9aec1c6..0000000
--- a/slstatus_240525.diff
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -r -u a/slstatus/components/battery.c b/slstatus/components/battery.c
---- a/slstatus/components/battery.c 2025-05-01 17:34:50.686576726 +0200
-+++ b/slstatus/components/battery.c 2025-05-24 11:54:19.365389265 +0200
-@@ -56,10 +56,10 @@
- char *state;
- char *symbol;
- } map[] = {
-- { "Charging", "+" },
-- { "Discharging", "-" },
-- { "Full", "o" },
-- { "Not charging", "o" },
-+ { "Charging", "󰁾󱐋" },
-+ { "Discharging", "󰁾" },
-+ { "Full", "󰁹󱐋" },
-+ { "Not charging", "󰁹" },
- };
- size_t i;
- char path[PATH_MAX], state[12];
-diff -r -u a/slstatus/components/datetime.c b/slstatus/components/datetime.c
---- a/slstatus/components/datetime.c 2025-05-01 17:34:50.686576726 +0200
-+++ b/slstatus/components/datetime.c 2025-05-24 11:33:30.573630300 +0200
-@@ -1,6 +1,7 @@
- /* See LICENSE file for copyright and license details. */
- #include <stdio.h>
- #include <time.h>
-+#include <locale.h>
-
- #include "../slstatus.h"
- #include "../util.h"
-@@ -8,6 +9,7 @@
- const char *
- datetime(const char *fmt)
- {
-+ setlocale(LC_ALL,"fr_FR.utf8");
- time_t t;
-
- t = time(NULL);
-diff -r -u a/slstatus/config.def.h b/slstatus/config.def.h
---- a/slstatus/config.def.h 2025-05-01 17:34:50.686576726 +0200
-+++ b/slstatus/config.def.h 2025-05-24 14:38:22.311193608 +0200
-@@ -66,5 +66,8 @@
- */
- static const struct arg args[] = {
- /* function format argument */
-- { datetime, "%s", "%F %T" },
-+ { battery_remaining, "%s", "BAT0"},
-+ { battery_state, " %s", "BAT0"},
-+ { battery_perc, " %s%%", "BAT0" },
-+ { datetime, " | %s", "%a %d %b %T" },
- };