diff --git a/wms_shepperd.sh b/wms_shepperd.sh index a83af0c..ae68ca1 100755 --- a/wms_shepperd.sh +++ b/wms_shepperd.sh @@ -21,7 +21,7 @@ wms_shepperd.sh [ -a, -r, -t ] # create atom in focused window add_focused() { - name=$(printf "$($XMENU < $NAMES)") + name="$($XMENU < $NAMES)" if [ -n "$name " ]; then atomx WM_HERD="$name $FW" $FW else @@ -31,8 +31,8 @@ add_focused() { # create atom in all maped windows add_all() { - name=$(printf "$($XMENU < $NAMES)") - for wid in $AMW; do + name="$($XMENU < $NAMES)" + for wjjlsid in $AMW; do if [ -n "$name" ]; then atomx WM_HERD="$name $wid" $wid else