commit 50400ec5bbe7bc493e9f3a255f5dbd3c2ca4dbe2 parent 280a77027c30c8b1be8b8d48d5443a6b74f32dfa Author: Riaz <riaz@riazj.com> Date: Tue, 9 Sep 2025 11:27:14 -0700 sxhkd: Add hotkey for opening files Diffstat:
M | .config/sxhkd/sxhkdrc | | | 13 | +++++++++---- |
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -19,15 +19,20 @@ alt + p alt + t todo -alt + x - echo "$(xsel -o | tr '\n' '\034')" >> "$XDG_RUNTIME_DIR/clip" +alt + n + st calc alt + w st w3m -v +alt + x + xsel -o | xsel -b; echo "$(xsel -o | tr '\n' '\034')" >> "$XDG_RUNTIME_DIR/clip" + alt + m - page="$(:|dmenu -p "Man page:")"; \ - man "$page" > /dev/null 2>&1 && st man "$page" + page="$(:|dmenu -p "Man page:")" && st man "$page" + +alt + l + file="$(find "${SEARCH_DIRS[@]}" -type f -not -path '*/.git/*' | dmenu -i -l 10)" && soap "$file" alt + d def="$XDG_RUNTIME_DIR/sdcv"; \