mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
parent
295297500d
commit
078bcd5e7d
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
#include "utils/env.hpp"
|
||||||
#include "adapters/mpd.hpp"
|
#include "adapters/mpd.hpp"
|
||||||
#include "modules/meta/event_module.hpp"
|
#include "modules/meta/event_module.hpp"
|
||||||
#include "modules/meta/input_handler.hpp"
|
#include "modules/meta/input_handler.hpp"
|
||||||
|
@ -72,7 +73,7 @@ namespace modules {
|
||||||
*/
|
*/
|
||||||
unique_ptr<mpdstatus> m_status;
|
unique_ptr<mpdstatus> m_status;
|
||||||
|
|
||||||
string m_host{"127.0.0.1"};
|
string m_host{env_util::get("MPD_HOST", "127.0.0.1")};
|
||||||
string m_pass;
|
string m_pass;
|
||||||
unsigned int m_port{6600U};
|
unsigned int m_port{6600U};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue