Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/simpleDots/bin/xcqr

11 lines
331 B
Text
Raw Permalink Normal View History

#!/bin/sh
# Credit to Maddison Hellstrom (@b0o on Github)
text=$(xclip -out -selection clipboard)
notify-send --expire-time 3000 "Clipboard" "$text"
qrencode --output - --size 1 "$text" \
| feh --zoom max \
--fullscreen \
--force-aliasing \
--image-bg white \
-