From e892d15568ce70891da42f581eae82739cf8749b Mon Sep 17 00:00:00 2001 From: taj_ny Date: Sun, 15 Mar 2026 13:27:55 +0000 Subject: [PATCH] readme: update text expansion example --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 95792a31..73df0127 100644 --- a/README.md +++ b/README.md @@ -36,18 +36,18 @@ Supported environments: Plasma 6, Hyprland, GNOME, other Wayland compositors (av - type: shortcut shortcut: [ leftctrl, space ] - conditions: - - can_replace_text: &text_substitution_rules + actions: + - on: begin + replace_text: + # :calc{2+2} -> 4 - regex: :calc{(.*)} replace: command: printf "$(qalc -t "$match_1")" - + + # :email -> example@example.com - regex: :email replace: example@example.com - actions: - - replace_text: *text_substitution_rules - mouse: gestures: # right + draw circle clockwise -> open dolphin