diff options
| author | krolxon <krolyxon@tutanota.com> | 2025-08-25 15:44:14 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2025-08-25 15:44:14 +0530 |
| commit | ffeaf344c429ab195160be967a5fb62346f3eed9 (patch) | |
| tree | 5cb9ebeca9d292a6a1b09b5398e88a276c67b18c /.local/bin/screenshot | |
| parent | a81ab033ec5ac0cdbdddfc31f242aee7cb5aee4e (diff) | |
move to fuzzel from rofi
rofi is bad when it comes to fuzzy matching and also you cannot execute
command as it is, for example you cannot pass arguements to commands
like "setwall -m".
Fuzzel is way simpler, natively supports wayland and is a drop in
replacement for dmenu.
Diffstat (limited to '.local/bin/screenshot')
| -rwxr-xr-x | .local/bin/screenshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/screenshot b/.local/bin/screenshot index 3cb9b0f..8048bfa 100755 --- a/.local/bin/screenshot +++ b/.local/bin/screenshot @@ -2,7 +2,7 @@ ocr_cmd="wl-copy" -case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\ncurrent window\nfull screen\na selected area (OCR)" | rofi -dmenu -l 7 -i -p "Screenshot which area?")" in +case "$(printf "a selected area (copy)\ncurrent window (copy)\nfull screen (copy)\na selected area\ncurrent window\nfull screen\na selected area (OCR)" | fuzzel -d -l 7 -i -p "Screenshot which area?")" in "a selected area (copy)") hyprshot -m region --clipboard-only ;; "current window (copy)") hyprshot -m window --clipboard-only ;; "full screen (copy)") hyprshot -m output --clipboard-only ;; |
