Artix Linux

Published on 2026-04-09 | By Frédéric Hamel

Configuration

Swap Caps and Escape

To swap caps and escape in TTY juste edit the keyboard layout to swap these 2 keys.

The edited keymap is located in /usr/local/share/kbd/i368/qwerty/us-custom.map.gz

Edit /etc/vconsole.conf

KEYMAP=us-custom

To swap caps and escape in Wayland you just have to edit environment XKB_DEFAULT_OPTIONS with the value "caps:escape" or "caps:swapescape" before the Wayland session is started. The later swap caps and escape while the first replace caps with escape.

Installing dwl

The window manager I use is Dwl. The version recommanded is on branche dwl-0.7, it requires wlroots-0.18.

git clone https://github.com/FredericHamel/dwl.git
cd dwl
git fetch origin dwl-0.7
git switch dwl-0.7
make

Enable Xwayland if you want to be able to run Discord and Steam. Uncomment the corresponding lines in config.mk and rebuild dwl.