diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-02 22:28:07 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-02 22:28:07 -0800 |
| commit | 9624338777faede7e6fc7027a5ebd827f699dc5d (patch) | |
| tree | 55b1581c27ce3aa4032c0e45b6e6671e560805b7 /slstatus | |
| parent | 870308dea5afaff169b80087615403303425ea11 (diff) | |
status and xinitrc
Diffstat (limited to 'slstatus')
| -rw-r--r-- | slstatus/my.diff | 14 | ||||
| -rwxr-xr-x | slstatus/setup.sh | 10 | ||||
| -rw-r--r-- | slstatus/slstatus-1.1.tar.gz | bin | 0 -> 18407 bytes |
3 files changed, 24 insertions, 0 deletions
diff --git a/slstatus/my.diff b/slstatus/my.diff new file mode 100644 index 0000000..10deb85 --- /dev/null +++ b/slstatus/my.diff @@ -0,0 +1,14 @@ +diff -ruN ../slstatus-clean/config.def.h ./config.def.h +--- ../slstatus-clean/config.def.h 2025-04-29 20:02:03.000000000 -0700 ++++ ./config.def.h 2025-12-02 22:21:37.469231591 -0800 +@@ -66,5 +66,9 @@ + */ + static const struct arg args[] = { + /* function format argument */ +- { datetime, "%s", "%F %T" }, ++ { battery_perc, "BAT: %s%% | ", "BAT0" }, ++ { cpu_perc, "CPU: %s%% | ", NULL }, ++ { ram_perc, "RAM: %s%% | ", NULL }, ++ { keymap, "KEY: %s | ", NULL }, ++ { datetime, "%s", "%F %T" }, + }; diff --git a/slstatus/setup.sh b/slstatus/setup.sh new file mode 100755 index 0000000..18af177 --- /dev/null +++ b/slstatus/setup.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e +set -x + +tar -xzf slstatus-1.1.tar.gz +cd slstatus-1.1 +patch <../my.diff +make config.h +sudo make install diff --git a/slstatus/slstatus-1.1.tar.gz b/slstatus/slstatus-1.1.tar.gz Binary files differnew file mode 100644 index 0000000..2ac5bfc --- /dev/null +++ b/slstatus/slstatus-1.1.tar.gz |
