polybar/src/x11/xresources.cpp

18 lines
306 B
C++

#include "x11/xresources.hpp"
#include "common.hpp"
POLYBAR_NS
template <>
string xresource_manager::convert(string&& value) const {
return forward<string>(value);
}
template <>
double xresource_manager::convert(string&& value) const {
return std::strtod(value.c_str(), nullptr);
}
POLYBAR_NS_END