diff options
| author | 2026-05-14 10:58:38 +0100 | |
|---|---|---|
| committer | 2026-05-14 10:58:38 +0100 | |
| commit | eb807c911f2c364c1c8a8bd67026b997f2b0d2f0 (patch) | |
| tree | 3bb36d05fcb1b37e49f9820379344b1b4a617287 | |
| parent | 2b63a5f594b172c8aa75c0d00067db346152022a (diff) | |
| download | dotfiles-eb807c911f2c364c1c8a8bd67026b997f2b0d2f0.tar.gz dotfiles-eb807c911f2c364c1c8a8bd67026b997f2b0d2f0.tar.bz2 dotfiles-eb807c911f2c364c1c8a8bd67026b997f2b0d2f0.zip | |
feat(sway): fuzzy search in power menu
Drop --hide-search and enable --matching=fuzzy --insensitive so typing
'po' jumps to Poweroff, 'su' to Suspend, etc.
| -rw-r--r-- | dot_config/sway/executable_power-menu.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dot_config/sway/executable_power-menu.sh b/dot_config/sway/executable_power-menu.sh index bb5cafa..999259c 100644 --- a/dot_config/sway/executable_power-menu.sh +++ b/dot_config/sway/executable_power-menu.sh @@ -8,7 +8,8 @@ choice=$(printf '%s\n' \ " Logout" \ " Reboot" \ " Poweroff" | - wofi --dmenu --hide-search --prompt='power' \ + wofi --dmenu --prompt='power' \ + --matching=fuzzy --insensitive \ --style "$HOME/.config/wofi/style.css") case "$choice" in |
