Skip to content

Wayland installation

dwl and dwlb

Follow installation instructions from dwl + dwlb to compile the two packages and install theme

Create a startup script or put into .bash_profile the following command to allow dwl to start correctly:

exec dbus-run-session dwl -s 'dwlb -font "HackNerdFont:size=16"'

dwl requires that a status bar be provided for -s, in this case we are using dwlb

References:

Arch Linux Article

Software:

dwlb dwl wmenu

Escape + Super key mapping

Since wayland does not have support for xcape, we need to use interception with a plugin instead. The following link goes over how to install and use the interception plugin.

These are the configurations for my setup:

/etc/interception/dual-function-keys/mappings.yml:

MAPPINGS:
    - KEY: KEY_CAPSLOCK
      TAP: KEY_ESC
      HOLD: KEY_LEFTMETA

/etc/interception/udevmon.d/rivos-laptop-udevmon.yml:

- JOB: "intercept -g $DEVNODE | dual-function-keys -c /etc/interception/dual-function-keys/mappings.yml | uinput -d $DEVNODE"
  DEVICE:
    NAME: "AT Translated Set 2 keyboard"

To get the device name: see the reference link.

References:

interception