polybar/include/utils
Luca Maltagliati ddabe3f0f4
feat(memory): Tokens that switch between MiB and GiB (#2488)
* feat:add tokens to display memory in MiB when GiB val <= 1.0 (#2472)

* fix: correct swap_used calculation

* fix: pass variable by reference rather than by value

* fix: add precision arguments to filesize_gib_mib(); better condition

* doc: add #2472 to CHANGELOG

* fix: missing default argument values

* Apply suggestions from code review

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>
2021-09-04 13:14:13 +02:00
..
action_router.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
actions.hpp controller: Cleanup process_inputdata 2020-11-26 20:53:53 +01:00
bspwm.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
color.hpp fix(color): Rename type() function to get_type 2021-03-01 00:05:44 +01:00
command.hpp add command unit tests 2020-05-08 23:24:29 +02:00
concurrency.hpp concurrency_util: Mutex wrapper 2016-12-26 10:33:23 +01:00
env.hpp refactor(file_util): Expand tilde manually 2017-01-25 17:07:55 +01:00
factory.hpp refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00
file.hpp Add compiler warning for missing override specifier (#2341) 2021-01-04 10:38:43 +01:00
functional.hpp
http.hpp Update: Using another way to authenticate github module (#2029) 2020-03-26 12:50:42 +01:00
i3.hpp feat(conf): Option to always show urgent workspaces in i3 (#2378) 2021-02-15 21:31:34 +01:00
inotify.hpp fix: Ensure reloading when IN_IGNORED fired on config (#371) 2017-01-24 07:10:55 +01:00
io.hpp fix(script): Poll file descriptors 2017-01-11 18:21:58 +01:00
math.hpp fix: unbounded_percentage always rounded down 2021-03-03 22:48:17 +01:00
memory.hpp fix(build): Ignore noexcept-type for malloc_ptr_t 2019-10-26 22:28:47 +02:00
mixins.hpp
process.hpp fix(process): fork_detached created zombie processes 2020-12-12 02:37:21 +01:00
scope.hpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
socket.hpp Fix gcc compilation 2020-05-14 22:45:40 +02:00
string.hpp feat(memory): Tokens that switch between MiB and GiB (#2488) 2021-09-04 13:14:13 +02:00
throttle.hpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
time.hpp refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00