summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-03-07 00:26:05 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-03-07 00:26:05 +0100
commit49461617903c19c98cadac9da510a011a524ff59 (patch)
tree468e5c1ac28f5f390df5078086058a9411d2a4fb /bin
parenta69a32051f025c16f4e3953eb3904283f7107d37 (diff)
refactor
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' |