mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 05:45:42 +00:00
separator: kill that useless thing
Just use the format strings dude. :)
This commit is contained in:
parent
0c2b3e5b5c
commit
c46c1487a9
1
Makefile
1
Makefile
@ -21,7 +21,6 @@ COM =\
|
|||||||
components/num_files\
|
components/num_files\
|
||||||
components/ram\
|
components/ram\
|
||||||
components/run_command\
|
components/run_command\
|
||||||
components/separator\
|
|
||||||
components/swap\
|
components/swap\
|
||||||
components/temperature\
|
components/temperature\
|
||||||
components/uptime\
|
components/uptime\
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
/* See LICENSE file for copyright and license details. */
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include "../util.h"
|
|
||||||
#include "../slstatus.h"
|
|
||||||
|
|
||||||
const char *
|
|
||||||
separator(const char *separator)
|
|
||||||
{
|
|
||||||
return separator;
|
|
||||||
}
|
|
@ -45,7 +45,6 @@ static const char unknown_str[] = "n/a";
|
|||||||
* ram_total total memory size in GB NULL
|
* ram_total total memory size in GB NULL
|
||||||
* ram_used used memory in GB NULL
|
* ram_used used memory in GB NULL
|
||||||
* run_command custom shell command command (echo foo)
|
* run_command custom shell command command (echo foo)
|
||||||
* separator string to echo NULL
|
|
||||||
* swap_free free swap in GB NULL
|
* swap_free free swap in GB NULL
|
||||||
* swap_perc swap usage in percent NULL
|
* swap_perc swap usage in percent NULL
|
||||||
* swap_total total swap size in GB NULL
|
* swap_total total swap size in GB NULL
|
||||||
|
@ -56,9 +56,6 @@ const char *ram_used(const char *unused);
|
|||||||
/* run_command */
|
/* run_command */
|
||||||
const char *run_command(const char *cmd);
|
const char *run_command(const char *cmd);
|
||||||
|
|
||||||
/* separator */
|
|
||||||
const char *separator(const char *separator);
|
|
||||||
|
|
||||||
/* swap */
|
/* swap */
|
||||||
const char *swap_free(const char *unused);
|
const char *swap_free(const char *unused);
|
||||||
const char *swap_perc(const char *unused);
|
const char *swap_perc(const char *unused);
|
||||||
|
Loading…
Reference in New Issue
Block a user