aboutsummaryrefslogtreecommitdiff
path: root/patch-slstatus-280525
diff options
context:
space:
mode:
Diffstat (limited to 'patch-slstatus-280525')
-rw-r--r--patch-slstatus-28052515
1 files changed, 15 insertions, 0 deletions
diff --git a/patch-slstatus-280525 b/patch-slstatus-280525
new file mode 100644
index 0000000..b445b29
--- /dev/null
+++ b/patch-slstatus-280525
@@ -0,0 +1,15 @@
+Common subdirectories: /home/philip/.local/src/MASTER/slstatus/components and /home/philip/.local/src/WORKING/slstatus/components
+diff -u /home/philip/.local/src/MASTER/slstatus/config.def.h /home/philip/.local/src/WORKING/slstatus/config.def.h
+--- /home/philip/.local/src/MASTER/slstatus/config.def.h 2025-05-01 17:34:50.686576726 +0200
++++ /home/philip/.local/src/WORKING/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" },
+ };
+Common subdirectories: /home/philip/.local/src/MASTER/slstatus/.git and /home/philip/.local/src/WORKING/slstatus/.git