-- requires a little sleep before simulating shift+Insert, otherwise I
-- believe the focus is still on awful and not the current window
awful.key({ modkey }, "\\", function () awful.spawn('xdotool sleep 0.2 key --clearmodifiers shift+Insert') end,
- {description = "paste primary selection", group = "awesome"})
+ {description = "paste primary selection", group = "awesome"}),
+ -- utf8 picker
+ -- TODO: the mapping is similar to kitty's <C-S-u>, but worth changing maybe?
+ awful.key({ modkey, "Shift"}, "u", function () awful.spawn('rofimoji') end,
+ { description = "select utf8 character", group = "awesome"})
)
-- Client keys {{{1