summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/cycleKB2
-rwxr-xr-xbin/extra/wd2
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/extra/cycleKB b/bin/extra/cycleKB
index 70b01df..5b9b197 100755
--- a/bin/extra/cycleKB
+++ b/bin/extra/cycleKB
@@ -3,4 +3,4 @@ keyboards="$HOME/bin/keyboards.txt"
kb="$(head -n 1 "$keyboards")"
setxkbmap $kb &
sed -i '1h;1d;$G' "$keyboards"
-notify-send -t 1000 "cycleKB" "keyboard: <b>$kb</b>"
+notify-send -t 1000 "cycleKB" "$kb"
diff --git a/bin/extra/wd b/bin/extra/wd
index 1aa2c6e..73bbaf7 100755
--- a/bin/extra/wd
+++ b/bin/extra/wd
@@ -8,6 +8,8 @@
## Get the dictionaries
# > wget https://web.archive.org/web/20140428003644/http://abloz.com/huzheng/stardict-dic/dict.org/stardict-dictd_www.dict.org_gcide-2.4.2.tar.bz2
# > wget https://web.archive.org/web/20140428004049/http://abloz.com/huzheng/stardict-dic/misc/stardict-xfardic-gnu-linux-2.4.2.tar.bz2
+## Other dictionaries I'd like to get
+# https://foldoc.org/scalar
sdcv -nj "$1" |
jq -r '.[].definition' |