2021-01-09 14:30:55 +01:00
|
|
|
#!/usr/bin/env bash
|
2021-12-31 16:07:38 +01:00
|
|
|
|
2021-01-09 14:30:55 +01:00
|
|
|
options="nl:en\nen:nl\nnl:fr\nfr:nl\nen:fr\nfr:en\nnl:de\nde:nl"
|
|
|
|
|
|
|
|
selected=$(echo -e "$options" | dmenu -p "s?:t?" -i -l 0)
|
|
|
|
|
2022-10-25 21:29:26 +02:00
|
|
|
notify-send --app-name= -t 3000 "$(trans "$selected" -b "$(dmenu -p "$selected" &)" \
|
2021-01-09 14:30:55 +01:00
|
|
|
| tr -d '\n' \
|
|
|
|
| xclip -sel clip -f)"
|