big changes boi
This commit is contained in:
11
.local/bin/emoji_insert.sh
Executable file
11
.local/bin/emoji_insert.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
EMOJIS_DIR="$HOME/.local/share/chars"
|
||||
LAUNCHER="$HOME/.config/rofi/launchers.d/rofi_launcher_emoji.sh"
|
||||
|
||||
sel="$(cat "$EMOJIS_DIR"/emojis |
|
||||
"$LAUNCHER" |
|
||||
awk '{print $1}')"
|
||||
|
||||
[ -n "${sel:-}" ] && exec wtype "$sel"
|
||||
Reference in New Issue
Block a user