Skip to content

Commit

Permalink
2022-11-11 01:57:36
Browse files Browse the repository at this point in the history
  • Loading branch information
alexherbo2 committed Dec 31, 2024
1 parent 8afa605 commit ea34001
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .local/bin/dmenu-shortcut
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

# A drop-in dmenu replacement using fzy/WezTerm.
cat > /tmp/stdin
wezterm start sh -c 'fzy < /tmp/stdin > /tmp/stdout'
[ -s /tmp/stdout ] && cat /tmp/stdout
2 changes: 1 addition & 1 deletion .local/bin/ghosttext
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# https://ghosttext.fregante.com
> /tmp/scratch.md
foot --app-id=popup hx /tmp/scratch.md
[ -s /tmp/scratch.md ] && pbcopy < /tmp/scratch.md
[ -s /tmp/scratch.md ] && wl-copy < /tmp/scratch.md
7 changes: 7 additions & 0 deletions .local/bin/ghosttext-shortcut
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# A drop-in GhostText replacement using Helix/WezTerm.
# https://ghosttext.fregante.com
> /tmp/scratch.md
wezterm start hx /tmp/scratch.md
[ -s /tmp/scratch.md ] && pbcopy < /tmp/scratch.md
File renamed without changes.

0 comments on commit ea34001

Please sign in to comment.