From 4fd83f83163754c5b647c4408b5ee70c0a804afb Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:23 +0100 Subject: feat(sway): altgr-intl + compose key for PT typing - xkb variant altgr-intl: AltGr dead keys + direct Euro on AltGr+5. Preserves bare ' " ` ~ ^ for code/shell. - Compose on Right Ctrl (compose:rctrl). Leaves Right Alt for AltGr. - New dot_XCompose with %L include + PT-PT guillemets, Euro, ordinals, em/en dashes, ellipsis. - KEYBINDS.md: new Typing / Input section with AltGr + Compose cheatsheet. --- dot_XCompose | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dot_XCompose (limited to 'dot_XCompose') diff --git a/dot_XCompose b/dot_XCompose new file mode 100644 index 0000000..5b940ab --- /dev/null +++ b/dot_XCompose @@ -0,0 +1,22 @@ +# ~/.XCompose — custom Compose sequences layered on top of system defaults. +# Compose key is Right Ctrl (sway: xkb_options compose:rctrl). +# Loaded automatically by libxkbcommon clients (sway/ghostty/foot/firefox/thunderbird). + +include "%L" # pull in the full system Compose table (á, ã, ç, €, etc.) + +# ── PT-PT quotation marks ───────────────────────────────────────────────────── + : "«" guillemotleft + : "»" guillemotright + +# ── Euro (also directly on AltGr+5, this is the discoverable fallback) ──────── + : "€" EuroSign + : "€" EuroSign + +# ── Ordinal indicators (PT dates, addresses: 1.º, 2.ª) ──────────────────────── + : "º" masculine + : "ª" feminine + +# ── Dashes and ellipsis (handy in prose) ────────────────────────────────────── + : "—" emdash + : "–" endash + : "…" ellipsis -- cgit v1.3.1