NWG Wrapper Bindings Configuration

Table of Contents

1. About

NWG-Wrapper is a display script for Wayland compositors, similar to Conky for X11. NWG-Wrapper can be used with script, text, or markup files.

1.1. My Configuration

The main purpose of my NWG-Wrapper config is to provide an easily viewable cheatsheet of some of my less used key combinations for my Hyprland and Emacs configurations.

To achieve this simple cheatsheet I have configured NWG-Wrapper using Pango markup, and a simpe CSS style sheet.

example screenshot:

2. Bindings

2.1. Heading

This section includes the main heading to be displayed in NWG-Wrapper

<span face="monospace">
<span size="x-large" foreground="#50fa7b" face="serif">Cheat sheet</span>
<span foreground="#eeeeee">

2.2. General

<span size="x-large" foreground="#50fa7b" face="serif">Hyprland</span>

Web browser             <span foreground="#8be9fd" face="serif">Mod+B</span>
Modify default browser  <span foreground="#8be9fd" face="serif">CTRL+ALT+[B,F,M]</span>
Toggle Grouping         <span foreground="#8be9fd" face="serif">Mod+G</span>
Toggle floating         <span foreground="#8be9fd" face="serif">Mod+V</span>

2.3. Hyprland Ecosystem

this section includes keybindings related to programs in the "Hyprland ecosystem". In otherwords, these are programs intended to integrate with Hyprland.

<span size="large" foreground="#50fa7b" face="serif">Hyprland Ecosystem</span>
Hyprpicker              <span foreground="#8be9fd" face="serif">Mod+CTRL+P</span>
Hyprlock                <span foreground="#ff5555" face="serif">Mod+Shift+L</span>
Wlogout                 <span foreground="#ff5555" face="serif">Mod+TAB+W</span>

2.4. Clipboard keybindings

<span size="large" foreground="#50fa7b" face="serif">Cliphist</span>
Show Clipboard          <span foreground="#8be9fd" face="serif">Mod+CTRL+V</span>
Delete Clipboard Entry  <span foreground="#8be9fd" face="serif">Mod+CTRL+D</span>
Wipe Clipboard          <span foreground="#8be9fd" face="serif">Mod+CTRL+E</span>

2.5. Emacs keybindings

<span size="x-large" foreground="#50fa7b" face="serif">HDmacs (Emacs)</span>
Emacs                   <span foreground="#8be9fd" face="serif">Mod+E</span>
Org Babel Tangle        <span foreground="#8be9fd" face="serif">C-c C-v T</span>

2.6. Kitty terminal keybindings

<span size="large" foreground="#50fa7b" face="serif">Kitty</span>
Emoji picker        <span foreground="#8be9fd" face="serif">CTRL+Shift+U</span>
</span>
</span>

3. Styling

Simple CSS file to provide some extra styling to the markup file.

window {
        background-color: rgba (0, 0, 0, 0.0);
}

#box-outer {
        /* Define attributes of the box surrounding icons here */
        background-color: rgba (255, 255, 255, 0.0)
}

#box-inner {
        background-color: rgb #282a36cc;
        padding: 0 20px 0 20px
}

4. FOOTER

Author: Henry Davies

Created: 2025-06-12 Thu 23:30

Validate