mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
608519363d
New module that uses the X keyboard extension to show keyboard layout and indicators. Ref #84, #200
26 lines
607 B
C++
26 lines
607 B
C++
#pragma once
|
|
|
|
#include <xpp/xpp.hpp>
|
|
|
|
#include "common.hpp"
|
|
|
|
POLYBAR_NS
|
|
|
|
class connection;
|
|
class registry;
|
|
|
|
using gcontext = xpp::gcontext<connection&>;
|
|
using pixmap = xpp::pixmap<connection&>;
|
|
using drawable = xpp::drawable<connection&>;
|
|
using colormap = xpp::colormap<connection&>;
|
|
using atom = xpp::atom<connection&>;
|
|
using font = xpp::font<connection&>;
|
|
using cursor = xpp::cursor<connection&>;
|
|
|
|
namespace reply_checked = xpp::x::reply::checked;
|
|
namespace reply_unchecked = xpp::x::reply::unchecked;
|
|
namespace reply {
|
|
using get_atom_name = reply_checked::get_atom_name<connection&>;
|
|
}
|
|
|
|
POLYBAR_NS_END
|