termux-packages/x11-packages/i3status/i3status-2.13_include_i3status.h.patch

23 lines
2.6 KiB
Diff
Raw Normal View History

2019-07-19 01:35:41 +02:00
diff -uNr i3status-2.13/include/i3status.h i3status-2.13.mod/include/i3status.h
--- i3status-2.13/include/i3status.h 2019-02-21 16:35:12.000000000 +0200
+++ i3status-2.13.mod/include/i3status.h 2019-07-19 02:34:05.475239331 +0300
@@ -214,7 +214,6 @@
2018-09-10 00:42:26 +02:00
void print_ipv6_info(yajl_gen json_gen, char *buffer, const char *format_up, const char *format_down);
void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const char *format, const char *format_below_threshold, const char *format_not_mounted, const char *prefix_type, const char *threshold_type, const double low_threshold);
-void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, const char *status_chr, const char *status_bat, const char *status_unk, const char *status_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds);
2019-07-19 01:35:41 +02:00
void print_time(yajl_gen json_gen, char *buffer, const char *title, const char *format, const char *tz, const char *locale, const char *format_time, bool hide_if_equals_localtime, time_t t);
2018-09-10 00:42:26 +02:00
void print_ddate(yajl_gen json_gen, char *buffer, const char *format, time_t t);
const char *get_ip_addr(const char *interface, int family);
2019-07-19 01:35:41 +02:00
@@ -223,10 +222,7 @@
void print_path_exists(yajl_gen json_gen, char *buffer, const char *title, const char *path, const char *format, const char *format_down);
2018-09-10 00:42:26 +02:00
void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const char *path, const char *format, const char *format_above_threshold, int);
void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format, const char *format_above_threshold, const char *format_above_degraded_threshold, const char *path, const float max_threshold, const float degraded_threshold);
2019-07-19 01:35:41 +02:00
-void print_eth_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down);
2018-09-10 00:42:26 +02:00
-void print_load(yajl_gen json_gen, char *buffer, const char *format, const char *format_above_threshold, const float max_threshold);
2019-07-19 01:35:41 +02:00
void print_memory(yajl_gen json_gen, char *buffer, const char *format, const char *format_degraded, const char *threshold_degraded, const char *threshold_critical, const char *memory_used_method);
2018-09-10 00:42:26 +02:00
-void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *fmt_muted, const char *device, const char *mixer, int mixer_idx);
bool process_runs(const char *path);
int volume_pulseaudio(uint32_t sink_idx, const char *sink_name);
2019-07-19 01:35:41 +02:00
bool description_pulseaudio(uint32_t sink_idx, const char *sink_name, char buffer[MAX_SINK_DESCRIPTION_LEN]);