Files
polybar/src/x11/xresources.cpp
Michael Carlberg e1483c3f65 refactor(xresources): Use xcb-util-xrm
Drop the Xlib version and handle X resource
lookups using xcb-util-xrm

Refs #356
2017-01-20 02:26:01 +01:00

16 lines
283 B
C++

#include "x11/xresources.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