aboutsummaryrefslogtreecommitdiff
path: root/scripts/util/fr-acc.sh
diff options
context:
space:
mode:
authorben <ben@nagy.contact>2025-01-10 11:14:29 -0800
committerben <ben@nagy.contact>2025-01-10 11:14:29 -0800
commitfb4f206e21cc2853e904e8e548b3d4450b208c8d (patch)
tree92044e436174b598bbb831473412ee4382a05396 /scripts/util/fr-acc.sh
parent7339a5dae5f48ba37d44094f8aaa9915695f86e5 (diff)
added scriptsmain
Diffstat (limited to 'scripts/util/fr-acc.sh')
-rwxr-xr-xscripts/util/fr-acc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/util/fr-acc.sh b/scripts/util/fr-acc.sh
new file mode 100755
index 0000000..ef5f301
--- /dev/null
+++ b/scripts/util/fr-acc.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+selected=$(grep -v '^#' ~/.local/share/scripts/accents.txt | dmenu -i -l 30 | cut -d' ' -f1)
+echo -n "$selected" | xclip -selection clipboard
+printf '%s\n' "$selected has been copied to the clipboard." | dzen2 -bg white -fg black -p 2 -x -475 -y 50 -w 475 -h 50