polybar/include/utils
Patrick Ziegler 282b0f4e73
Create default config (#2511)
* Create default config and install to /etc/polybar

Closes #2405

* Search for config in /etc

We search in XDG_CONFIG_DIRS, /etc/xdg, and /etc but only for config.ini

Closes #2016

* Remove config installation from build.sh

* Remove userconfig cmake file

* Cleanup

* Cleanup default config

* Update CHANGELOG.md

Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com>

* Update src/main.cpp

Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com>

* Add tests for string functions

* Support loading bars from fallbacks in /etc

* Combine duplicate string_util::contains test

Co-authored-by: dvermd <315743+dvermd@users.noreply.github.com>
2021-10-05 13:07:19 +02:00
..
action_router.hpp fix(modules): Avoid downcast in module constructor 2021-10-03 03:18:39 +02: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 script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02:00
concurrency.hpp Remove unused spin_lock 2021-09-21 21:43:27 +02:00
env.hpp refactor(file_util): Expand tilde manually 2017-01-25 17:07:55 +01:00
factory.hpp Remove factory_util unique and shared 2021-09-21 21:43:27 +02:00
file.hpp script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02:00
functional.hpp refactor: Optimize build 2016-11-20 23:04:31 +01:00
http.hpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
i3.hpp feat(conf): Option to always show urgent workspaces in i3 (#2378) 2021-02-15 21:31:34 +01:00
inotify.hpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
io.hpp script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02: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 fix: project rename 2016-11-19 06:26:07 +01:00
process.hpp Add env parameter to exec_sh() 2021-09-28 22:16:07 +02:00
scope.hpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
socket.hpp Remove unused factory.hpp imports 2021-09-21 21:43:27 +02:00
string.hpp Create default config (#2511) 2021-10-05 13:07:19 +02:00
time.hpp refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00