all repos — dotfiles @ e7a9d22323ac001625abfde876178d8234ac868d

personal dotfiles

nimi_sewi: add notification sending
la-ninpre leobrekalini@gmail.com
Tue, 11 May 2021 22:28:14 +0300
commit

e7a9d22323ac001625abfde876178d8234ac868d

parent

cb2b0581a1889e7d90bea7f56bb3b085f904b64e

1 files changed, 7 insertions(+), 3 deletions(-)

jump to
M .local/bin/nimi_sewi.local/bin/nimi_sewi

@@ -1,6 +1,10 @@

#!/bin/sh -# generate random tokipona phrase(see nimisewi for details) -# and copy it to the clipboard +# generate random tokipona phrase(see nimisewi for details), +# copy it to the clipboard and send notification with it -nimisewi | xclip -sel clipboard +_nimi_sewi=$(nimisewi) + +echo $_nimi_sewi | xclip -sel clipboard + +notify-send -a nimi_sewi -t 2000 "nimi sewi" "$_nimi_sewi"