From dc03fb40fe55a7dc88c07509b47299223d4d5815 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 4 Apr 2023 14:02:28 +0200 Subject: cleaned up scripts, use sh (-> dash) where possible --- bin/guiscripts/dmclip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/guiscripts/dmclip') 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 -- cgit v1.2.3