polybar/include/utils/env.hpp

13 lines
170 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 char* var);
string get(const char* var, string fallback = "");
}
POLYBAR_NS_END