diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-04 14:02:28 +0200 |
commit | dc03fb40fe55a7dc88c07509b47299223d4d5815 (patch) | |
tree | 93d33df604005218d287d535b37dfc4ab9de307d /bin/guiscripts/dmclip | |
parent | 1496b8724c39dd6d16a46916ad4ed47a83a44852 (diff) |
cleaned up scripts, use sh (-> dash) where possible
Diffstat (limited to 'bin/guiscripts/dmclip')
-rwxr-xr-x | bin/guiscripts/dmclip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/guiscripts/dmclip b/bin/guiscripts/dmclip index 9c09b04..a1ca634 100755 --- a/bin/guiscripts/dmclip +++ b/bin/guiscripts/dmclip @@ -9,7 +9,7 @@ NotImage () { exit } -selection="$(echo -e "primary\nclipboard\nswap" | +selection="$(echo "primary\nclipboard\nswap" | dmenu -l 1 -g 3 -p "selection:")" if [[ "$selection" == "swap" ]] then @@ -37,7 +37,7 @@ else cut -c -"$DICL_LEN")" fi -menu_option="$(echo -e "save\nload\nimage\nreplace" | +menu_option="$(echo "save\nload\nimage\nreplace" | dmenu -l 1 -g 4 -p "'$disp_clip'")" [ "${menu_option}" ] || exit |