diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-24 22:26:21 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-24 22:26:21 -0300 |
| commit | bd644f5a17f66d89c08458aacc57cb932a9d291d (patch) | |
| tree | b786ae3e52ec59a7d522effe1466562eac0d1e9b /xmonad/scripts | |
| parent | usurpador.nix: Remove deleted cronjob (diff) | |
| download | dotfiles-bd644f5a17f66d89c08458aacc57cb932a9d291d.tar.gz dotfiles-bd644f5a17f66d89c08458aacc57cb932a9d291d.tar.xz | |
xmonad: Bind M-b to URL form to add to buku
Diffstat (limited to 'xmonad/scripts')
| -rwxr-xr-x | xmonad/scripts/yad-buku.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmonad/scripts/yad-buku.sh b/xmonad/scripts/yad-buku.sh new file mode 100755 index 00000000..20d2f8e0 --- /dev/null +++ b/xmonad/scripts/yad-buku.sh @@ -0,0 +1,8 @@ +#!/bin/sh +set -euo + +URL="$(yad --title 'Add the URL' --form --field 'URL')" + +if [ -n "$URL" ]; then + buku -a "$URL" +fi |
