aboutsummaryrefslogtreecommitdiffstats
path: root/.local/bin/nimi_sewi
blob: c21c40f0ae93a5c6d6c463f2b570b68afe43b00f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# generate random tokipona phrase(see nimisewi for details),
# copy it to the clipboard and send notification with it

_nimi_sewi=$(nimisewi)

echo "$_nimi_sewi" | xclip -sel clipboard

notify-send -a nimi_sewi -t 2000 "nimi sewi" "$_nimi_sewi"