polybar/include/utils/env.hpp

13 lines
174 B
C++
Raw Normal View History

2016-11-20 22:04:31 +00:00
#pragma once
#include "common.hpp"
POLYBAR_NS
namespace env_util {
bool has(const string& var);
string get(const string& var, string fallback = "");
2016-11-20 22:04:31 +00:00
}
POLYBAR_NS_END