commit a87cb198662aa75a55231b30c99e6220542e38f2 parent 23239767dfc62afe6cab9c1c029c83bfa0dd136f Author: Riaz <riaz@riazj.com> Date: Sun, 3 Aug 2025 17:33:14 -0700 Switch back to sdcv from dict Diffstat:
M | .config/sxhkd/sxhkdrc | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -19,6 +19,9 @@ alt + p alt + t todo +alt + x + echo "$(xsel -o | tr '\n' '\034')" >> "$XDG_RUNTIME_DIR/clip" + alt + w st w3m -v @@ -27,6 +30,6 @@ alt + m man "$page" > /dev/null 2>&1 && st man "$page" alt + d - definition="$XDG_RUNTIME_DIR/dmenu_dict"; \ - dict "$(dmenu -i -l 10 < $XDG_STATE_HOME/wn.index)" > "$definition"; \ - [ -s "$definition" ] && st less "$definition" + def="$XDG_RUNTIME_DIR/sdcv"; \ + sdcv -n "$(:|dmenu -p "Define:")" > "$def"; \ + [ -s "$def" ] && st less "$def"